mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
pinctrl: npcm7xx: Add missing check for ioremap
[ Upstream commitad64639417] 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>
This commit is contained in:
parent
fc45a8be5e
commit
c32afc7e86
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue