linux-yocto/drivers/firmware/arm_scmi
Arnd Bergmann ccc5a37e63 firmware: arm_scmi: Convert to SYSTEM_SLEEP_PM_OPS
commit 62d6b81e8b upstream.

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: 9a0658d399 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-20 18:30:58 +02:00
..
transports
vendors/imx
base.c
bus.c firmware: arm_scmi: Relax duplicate name constraint across protocol ids 2025-05-29 11:03:05 +02:00
clock.c
common.h
driver.c firmware: arm_scmi: Ensure that the message-id supports fastchannel 2025-06-27 11:11:22 +01:00
Kconfig
Makefile
msg.c
notify.c
notify.h
perf.c firmware: arm_scmi: Fix up turbo frequencies selection 2025-08-15 12:13:34 +02:00
pinctrl.c
power.c
powercap.c
protocols.h firmware: arm_scmi: Ensure that the message-id supports fastchannel 2025-06-27 11:11:22 +01:00
raw_mode.c
raw_mode.h
reset.c
scmi_power_control.c firmware: arm_scmi: Convert to SYSTEM_SLEEP_PM_OPS 2025-08-20 18:30:58 +02:00
sensors.c
shmem.c
system.c
voltage.c