lkml.org 
[lkml]   [2022]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] platform/chrome: Use new PM_OPS macros
Date
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

\
 
 \ /
  Last update: 2022-01-04 07:22    [W:0.068 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site