aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-07-09 07:01:01 +0000
committerSudeep Holla <[email protected]>2025-07-09 09:49:58 +0000
commit62d6b81e8bd207ad44eff39d1a0fe17f0df510a5 (patch)
treee276f6352585cd91b39eaab28852509ddf77e25e /rust/helpers
parentfirmware: arm_scmi: Avoid notifier registration for unsupported events (diff)
downloadkernel-62d6b81e8bd207ad44eff39d1a0fe17f0df510a5.tar.gz
kernel-62d6b81e8bd207ad44eff39d1a0fe17f0df510a5.zip
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 <[email protected]> Acked-by: Peng Fan <[email protected]> Message-Id: <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions