pinctrl: nuvoton: wpcm450: Refactor MFSEL setting code
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 5 Nov 2022 18:59:04 +0000 (19:59 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Nov 2022 08:19:42 +0000 (09:19 +0100)
commit4f1d423cd2bd0d8cc20dfbb8d2e4e14b1e417790
tree3f80b930c7bcc645a5df51e18fad309e2d9c05a9
parent4829297c9bf4659f98e946ba810ebe86411e6a9d
pinctrl: nuvoton: wpcm450: Refactor MFSEL setting code

In preparation for the next patch, which makes the logic around
setting/resetting bits in MFSEL a little more complicated, move that
code to a new function

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221105185911.1547847-2-j.neuschaefer@gmx.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c