linux/drivers/pinctrl/nuvoton
Jiasheng Jiang c32afc7e86 pinctrl: npcm7xx: Add missing check for ioremap
[ Upstream commit ad64639417 ]

Add check for ioremap() and return the error if it fails in order to
guarantee the success of ioremap().

Fixes: 3b588e43ee ("pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230607095829.1345-1-jiasheng@iscas.ac.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-07-19 16:21:37 +02:00
..
Kconfig pinctrl: nuvoton: wpcm450: Fix build error without OF 2022-03-25 21:14:58 +01:00
Makefile pinctrl: nuvoton: Add driver for WPCM450 2022-03-15 01:16:20 +01:00
pinctrl-npcm7xx.c pinctrl: npcm7xx: Add missing check for ioremap 2023-07-19 16:21:37 +02:00
pinctrl-wpcm450.c pinctrl: wpcm450: Correct the fwnode_irq_get() return value check 2022-10-04 09:40:57 +02:00