pinctrl: cy8c95x0: Extract cy8c95x0_set_mode() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Oct 2022 12:52:20 +0000 (15:52 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Oct 2022 09:56:16 +0000 (11:56 +0200)
commit9b3148d6d626d484fd038d25409602190d89eee7
tree5a087639911666ea5a51fc1cbffb2055282fd9ce
parenteaa4c8f953ba1d2eafb1c961aa9321beb71f21c9
pinctrl: cy8c95x0: Extract cy8c95x0_set_mode() helper

The code in newly introduced cy8c95x0_set_mode() helper may be
used later on by another function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221010125221.28275-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c