u-boot/drivers/pinctrl/mediatek
Heinrich Schuchardt 97bf73762f pinctrl: mediatek: correct error handling
If no GPIO controller is found, the return value should not depend on a
random value on the stack. Initialize variable ret.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
2021-01-18 15:23:06 -05:00
..
Kconfig pinctrl: mediatek: add driver for MT7622 2020-01-16 09:39:45 -05:00
Makefile pinctrl: mediatek: add driver for MT7622 2020-01-16 09:39:45 -05:00
pinctrl-mt7622.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mt7623.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mt7629.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mt8512.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mt8516.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mt8518.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-mtk-common.c pinctrl: mediatek: correct error handling 2021-01-18 15:23:06 -05:00
pinctrl-mtk-common.h pinctrl: mediatek: add PUPD/R0/R1 support for MT7623 2020-07-29 08:43:40 -04:00