pinctrl: baytrail: Factor out byt_gpio_force_input_mode()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Nov 2023 17:50:37 +0000 (19:50 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Nov 2023 12:33:30 +0000 (14:33 +0200)
commit5398a0e23cf82e2a69088d7080bc588bc07f4284
treef00b2bce03a1c5e46e2f0f82e5aaac3c8143fc1c
parent1a856a22e6036c5f0d6da7568b4550270f989038
pinctrl: baytrail: Factor out byt_gpio_force_input_mode()

There is a piece of code that it being used at least twice.
Factor it out.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-baytrail.c