diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-07-09 09:01:01 +0200 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2025-07-09 10:49:58 +0100 |
commit | 62d6b81e8bd207ad44eff39d1a0fe17f0df510a5 (patch) | |
tree | e276f6352585cd91b39eaab28852509ddf77e25e /tools/perf/scripts/python/syscall-counts.py | |
parent | b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 (diff) |
firmware: arm_scmi: Convert to SYSTEM_SLEEP_PM_OPS
The old SET_SYSTEM_SLEEP_PM_OPS() macro leads to a warning about an
unused function:
| drivers/firmware/arm_scmi/scmi_power_control.c:363:12: error:
| 'scmi_system_power_resume' defined but not used [-Werror=unused-function]
| static int scmi_system_power_resume(struct device *dev)
The proper way to do this these days is to use SYSTEM_SLEEP_PM_OPS()
and pm_sleep_ptr().
Fixes: 9a0658d3991e ("firmware: arm_scmi: power_control: Ensure SCMI_SYSPOWER_IDLE is set early during resume")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peng Fan <peng.fan@nxp.com>
Message-Id: <20250709070107.1388512-1-arnd@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions