Re: [PATCH] pinctrl: npcm7xx: Add missing check for ioremap

From: Linus Walleij
Date: Fri Jun 09 2023 - 03:44:27 EST


On Wed, Jun 7, 2023 at 11:58 AM Jiasheng Jiang <jiasheng@xxxxxxxxxxx> wrote:

> Add check for ioremap() and return the error if it fails in order to
> guarantee the success of ioremap().
>
> Fixes: 3b588e43ee5c ("pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>

Patch applied as nonurgent fix.

Yours,
Linus Walleij