]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: intel: Add __intel_gpio_get_direction() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 29 Aug 2024 13:59:17 +0000 (16:59 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 30 Aug 2024 18:44:37 +0000 (21:44 +0300)
commit91946ccbe74e8364cb172a1d2c23f06b06723b51
tree8eb6f203c20179328072d561bc7ffec9d7d61ffa
parent8c4a51f8d3aaf2cb56f7a2921a7c849422aecdf4
pinctrl: intel: Add __intel_gpio_get_direction() helper

Add __intel_gpio_get_direction() helper which provides all possible
physical states of the pad.

With that done, update current users and make the respective checks
consistent.

While at it, make the style of anonymous enum kernel documentation
consistent.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c