pinctrl: nuvoton: Use pinconf_generic_dt_node_to_map_all()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Aug 2023 10:07:44 +0000 (12:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Sep 2023 13:47:05 +0000 (15:47 +0200)
commit27e55fdff2f071fcec5e784433424233572a809b
tree989893db822551e8da9ab8a9e89207cda3a54cdc
parentd168ccdf50e4d7008cf67ca25a1602ac860592fc
pinctrl: nuvoton: Use pinconf_generic_dt_node_to_map_all()

Use the pinconf_generic_dt_node_to_map_all() helper instead of
open-coding the same operation, to avoid having to provide custom
pinctrl_ops.dt_node_to_map() callbacks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/81e9ab48f78d63153b23a163b3349b3059d2b7fc.1692871558.git.geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c