]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: stmfx: Use string_choices API instead of ternary operator
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Aug 2024 09:53:06 +0000 (12:53 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Aug 2024 22:11:29 +0000 (00:11 +0200)
commitf33254db6c9dc255801b19d6d0272166779c4377
treecd4b2ad04e9a893e73a2224fe3a15d093390236c
parenta9c470d22d2a7165958058148fe35c896f8c4324
pinctrl: stmfx: Use string_choices API instead of ternary operator

Use modern string_choices API instead of manually determining the
output using ternary operator.

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