linux/drivers/pinctrl/nomadik
Théo Lebrun a0c807b5b6 pinctrl: nomadik: fix dereference of error pointer
If nmk_gpio_populate_chip() returns an error, avoid deferencing its
return value.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-gpio/5ee722f8-7582-420d-8477-45be6acde90f@moroto.mountain/
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240306-mbly-gpio-err-fix-v1-1-a3605ba2336f@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2024-03-06 20:47:14 +01:00
..
Kconfig gpio: nomadik: fix Kconfig dependencies inbetween pinctrl & GPIO 2024-03-01 14:30:28 +01:00
Makefile pinctrl: nomadik: Drop U8540/9540 support 2018-03-23 03:38:14 +01:00
pinctrl-ab8500.c pinctrl: nomadik: Add missing header(s) 2023-01-04 02:36:47 +01:00
pinctrl-ab8505.c pinctrl: nomadik: Add missing header(s) 2023-01-04 02:36:47 +01:00
pinctrl-abx500.c pinctrl: abx500: use gpiochip_dup_line_label() 2023-12-08 09:26:30 +01:00
pinctrl-abx500.h pinctrl: nomadik: Add missing header(s) 2023-01-04 02:36:47 +01:00
pinctrl-nomadik-db8500.c gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/ 2024-02-29 10:22:33 +01:00
pinctrl-nomadik-stn8815.c gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/ 2024-02-29 10:22:33 +01:00
pinctrl-nomadik.c pinctrl: nomadik: fix dereference of error pointer 2024-03-06 20:47:14 +01:00