[PATCH v2 0/3] pinctrl: intel: Replace ifdeffery by pm_sleep_ptr() macro Andy Shevchenko

From: Andy Shevchenko
Date: Fri Sep 06 2024 - 07:37:34 EST


There are two benefits of this series:
1) no more ugly ifdeffery in the code;
2) the PM callbacks are all being synchronised via using the same macro,
i.e. pm_sleep_ptr() everywhere.

v2:
- made the code readable again (Mika)

Andy Shevchenko (3):
pinctrl: intel: Replace ifdeffery by pm_sleep_ptr() macro
pinctrl: baytrail: Replace ifdeffery by pm_sleep_ptr() macro
pinctrl: cherryview: Replace ifdeffery by pm_sleep_ptr() macro

drivers/pinctrl/intel/pinctrl-baytrail.c | 21 ++++++++++++++-------
drivers/pinctrl/intel/pinctrl-cherryview.c | 20 +++++++++++++-------
drivers/pinctrl/intel/pinctrl-intel.c | 5 +----
drivers/pinctrl/intel/pinctrl-intel.h | 14 ++++++++++++++
4 files changed, 42 insertions(+), 18 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac