Commit 6322e368 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman
Browse files

pinctrl: Introduce struct pinfunction and PINCTRL_PINFUNCTION() macro



[ Upstream commit 443a0a0f ]

There are many pin control drivers define their own data type for
pin function representation which is the same or embed the same data
as newly introduced one. Provide the data type and convenient macro
for all pin control drivers.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Stable-dep-of: fed6d9a8 ("pinctrl: baytrail: Fix selecting gpio pinctrl state")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8ae63bd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment