[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240906113710.467716-1-andriy.shevchenko@linux.intel.com>
Date: Fri, 6 Sep 2024 14:36:05 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andy@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH v2 0/3] pinctrl: intel: Replace ifdeffery by pm_sleep_ptr() macro Andy Shevchenko
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
Powered by blists - more mailing lists