pinctrl: berlin: Make use of struct pinfunction
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 May 2024 08:55:10 +0000 (11:55 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 07:23:34 +0000 (09:23 +0200)
commit5d421ff557fae63fe2add87ab67b3d7b0ef6559a
tree1ccf87d27bbba21475b11093dcfaf9c71e3b4bc1
parenta8f2548548584549ea29d43431781d67c4afa42b
pinctrl: berlin: Make use of struct pinfunction

Since pin control provides a generic data type for the pin function,
use it in the driver.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240530085745.1539925-2-andy.shevchenko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/berlin/berlin.c
drivers/pinctrl/berlin/berlin.h