mirror of https://github.com/torvalds/linux.git
The fwnode_iomap() function doesn't return error pointers, it returns
NULL. It's the same as of_iomap() in that way. Update the check
accordingly.
Fixes: ecc5bf868673 ("pinctrl: nuvoton: Add ma35d1 pinctrl and GPIO driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/840152f9-d3bb-410e-8164-4c5043e1983e@moroto.mountain
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-ma35.c | ||
| pinctrl-ma35.h | ||
| pinctrl-ma35d1.c | ||
| pinctrl-npcm7xx.c | ||
| pinctrl-npcm8xx.c | ||
| pinctrl-wpcm450.c | ||