[PATCH] firmware: arm_scmi: convert to SYSTEM_SLEEP_PM_OPS
Sudeep Holla
sudeep.holla at arm.com
Wed Jul 9 04:11:53 PDT 2025
On Wed, 09 Jul 2025 09:01:01 +0200, Arnd Bergmann wrote:
> 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]
> 363 | 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().
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!
[1/1] firmware: arm_scmi: convert to SYSTEM_SLEEP_PM_OPS
https://git.kernel.org/sudeep.holla/c/62d6b81e8bd2
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list