linux/drivers/pinctrl/mvebu
Qianfeng Rong decd50c19f pinctrl: armada-37xx: Use int type to store negative error codes
In armada_37xx_gpio_direction_output(), the 'ret' variable might store
the negative error codes returned by regmap_update_bits(), and in
armada_37xx_edge_both_irq_swap_pol(), the 'ret' variable directly
stores -1, so the type of the 'ret' variable needs to be changed to
int in both cases.

No effect on runtime.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
History 2025-09-08 14:20:57 +02:00
..
Kconfig pinctrl: mvebu: pinctrl driver for 98DX2530 SoC 2022-04-18 01:15:34 +02:00
Makefile pinctrl: mvebu: pinctrl driver for 98DX2530 SoC 2022-04-18 01:15:34 +02:00
pinctrl-ac5.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-37xx.c pinctrl: armada-37xx: Use int type to store negative error codes 2025-09-08 14:20:57 +02:00
pinctrl-armada-38x.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-39x.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-370.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-375.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-armada-ap806.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-cp110.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-armada-xp.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-dove.c pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function 2024-09-02 10:08:46 +02:00
pinctrl-kirkwood.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00
pinctrl-mvebu.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-mvebu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pinctrl-orion.c pinctrl: Use device_get_match_data() 2023-10-30 14:50:42 +01:00