u-boot/drivers/pinctrl
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
..
aspeed dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ath79 dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
broadcom dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
exynos pinctrl: Update for new sequence numbers 2020-12-18 20:32:21 -07:00
intel x86: apl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
mediatek pinctrl: mediatek: correct error handling 2021-01-18 15:23:06 -05:00
meson Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
mscc dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mtmips dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
mvebu dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
nexell dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
nxp dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
renesas pinctrl: renesas: Implement get_pin_muxing() callback 2021-01-18 13:29:12 +01:00
rockchip dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
Makefile pinctrl: Add support for Kendryte K210 FPIOA 2020-10-08 11:42:36 -04:00
pinctrl-at91-pio4.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
pinctrl-at91.c dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
pinctrl-generic.c pinctrl: Add pinmux property support to pinctrl-generic 2020-10-08 11:42:36 -04:00
pinctrl-kendryte.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-qe-io.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl-single.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
pinctrl-sti.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
pinctrl-stmfx.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
pinctrl-uclass.c dm: core: Use dev_has_ofnode() instead of dev_of_valid() 2021-01-05 12:24:41 -07:00
pinctrl_pic32.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pinctrl_stm32.c pinctrl: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00