pinctrl: apple: make apple_gpio_get_direction more readable
authorJoey Gouly <joey.gouly@arm.com>
Sun, 21 Nov 2021 16:56:37 +0000 (16:56 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Nov 2021 23:55:14 +0000 (00:55 +0100)
commit7d2649172908c83c820a957e97d0baf9901b9c95
tree57c823c5e62facbd058432d80e8b0dc2ea56705c
parent3605f104111e4adeac71edc89d867ec56147786d
pinctrl: apple: make apple_gpio_get_direction more readable

Try to make this more readable by not using a long line with
a ternary operator.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20211121165642.27883-7-joey.gouly@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-apple-gpio.c