]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - drivers/pinctrl/intel/pinctrl-intel.h
pinctrl: intel: Provide Intel pin control wide PM ops structure
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Oct 2023 12:07:18 +0000 (14:07 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Nov 2023 11:33:27 +0000 (13:33 +0200)
commitb10a74b5c0c1497f510f91333652fbb060060b69
tree4db4996f0d3ecd9fbdcca89803d2eab965d389d6
parentb85ea95d086471afb4ad062012a4d73cd328fa86
pinctrl: intel: Provide Intel pin control wide PM ops structure

With the help of EXPORT_NS_GPL_DEV_PM_OPS() and
NOIRQ_SYSTEM_SLEEP_PM_OPS() we may convert PM ops functions to become
static. This also takes into account the PM configuration options such
as CONFIG_PM and CONFIG_PM_SLEEP. Hence the first step is to provide
a generic PM ops structure that can be used by drivers directly.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231030120734.2831419-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c
drivers/pinctrl/intel/pinctrl-intel.h