pinctrl: rza1: remove unnecessary static inline function
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 13 Nov 2019 07:10:45 +0000 (09:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Nov 2019 13:33:33 +0000 (14:33 +0100)
commit54787d7c14a4a324d746499a7bed8de6866010c9
tree56ac3e8fb1a3e2f68b6bf403c72b63857816b909
parentdabad1ff856116a14773aa81aa5de0591d6875e9
pinctrl: rza1: remove unnecessary static inline function

Having static inline oneliner does not benefit too much when it is
only called from another oneliner function. Remove some of the
'onion'. This simplifies also the coming usage of the gpiolib
defines. We can do conversion from chip bits to gpiolib direction
defines as last step in the get_direction callback. Drivers can
use chip specific values in driver internal functions and do
conversion only once.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20191113071045.GA22110@localhost.localdomain
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rza1.c