Re: [PATCH] clocksource: ingenic-timer: Use pm_sleep_ptr() macro
From: Daniel Lezcano
Date: Mon Jun 19 2023 - 10:18:26 EST
On 18/06/2023 17:39, Paul Cercueil wrote:
The use of the pm_sleep_ptr() macro allows the compiler to always see
the dev_pm_ops structure and related functions, while still allowing the
unused code to be removed, without the need for the __maybe_unused
markings.
Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
---
Applied thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog