All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] platform/chrome: Use new PM_OPS macros
@ 2022-01-04  6:22 Gwendal Grignou
  2022-01-04  6:22 ` [PATCH 1/3] plaform/chrome: remove SET_SYSTEM_SLEEP_PM_OPS Gwendal Grignou
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gwendal Grignou @ 2022-01-04  6:22 UTC (permalink / raw)
  To: bleung, groeck; +Cc: linux-kernel, Gwendal Grignou

commit 296282fca791 ("PM: core: Add new *_PM_OPS macros, deprecate old ones")
Add new macros to remove __maybe_unused and/or #ifdef CONFIG_PM_SLEEP.

Apply them to plaform/chrome, using .cocci script to ease the
refactoring.
Only one #ifdef remains, in cros_ec.c to expose core suspend/resume
routine.

Gwendal Grignou (3):
  plaform/chrome: remove SET_SYSTEM_SLEEP_PM_OPS
  plaform/chrome: Remove SIMPLE_DEV_PM_OPS
  plaform/chrome: Remove SET_LATE_SYSTEM_SLEEP_PM_OPS

 drivers/platform/chrome/chromeos_tbmc.c     |  6 +++---
 drivers/platform/chrome/cros_ec_debugfs.c   |  8 ++++----
 drivers/platform/chrome/cros_ec_i2c.c       |  6 ++----
 drivers/platform/chrome/cros_ec_ishtp.c     |  8 ++++----
 drivers/platform/chrome/cros_ec_lightbar.c  |  8 ++++----
 drivers/platform/chrome/cros_ec_lpc.c       |  6 ++----
 drivers/platform/chrome/cros_ec_rpmsg.c     |  6 ++----
 drivers/platform/chrome/cros_ec_sensorhub.c |  6 ++----
 drivers/platform/chrome/cros_ec_spi.c       |  6 ++----
 drivers/platform/chrome/cros_ec_typec.c     | 10 ++++------
 drivers/platform/chrome/cros_usbpd_logger.c |  8 ++++----
 11 files changed, 33 insertions(+), 45 deletions(-)

-- 
2.34.1.448.ga2b2bfdf31-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-04  6:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04  6:22 [PATCH 0/3] platform/chrome: Use new PM_OPS macros Gwendal Grignou
2022-01-04  6:22 ` [PATCH 1/3] plaform/chrome: remove SET_SYSTEM_SLEEP_PM_OPS Gwendal Grignou
2022-01-04  6:22 ` [PATCH 2/3] plaform/chrome: Remove SIMPLE_DEV_PM_OPS Gwendal Grignou
2022-01-04  6:22 ` [PATCH 3/3] plaform/chrome: Remove SET_LATE_SYSTEM_SLEEP_PM_OPS Gwendal Grignou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.