lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220104062213.2365356-1-gwendal@chromium.org>
Date:   Mon,  3 Jan 2022 22:22:10 -0800
From:   Gwendal Grignou <gwendal@...omium.org>
To:     bleung@...omium.org, groeck@...omium.org
Cc:     linux-kernel@...r.kernel.org,
        Gwendal Grignou <gwendal@...omium.org>
Subject: [PATCH 0/3] platform/chrome: Use new PM_OPS macros

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ