]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal/drivers/qoriq: Remove __maybe_unused notations
authorFabio Estevam <festevam@denx.de>
Tue, 20 Aug 2024 01:26:15 +0000 (22:26 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 2 Sep 2024 11:17:46 +0000 (13:17 +0200)
commitbf2876f6bae3f9ece8d781627623630963b19333
tree4bd3bfddf794bb2f4eadec79f8fb80159b4836fe
parentd5714524fc2ce2a89fbe7abb06eccbb94920ec72
thermal/drivers/qoriq: Remove __maybe_unused notations

The combined usage of pm_sleep_ptr() and DEFINE_SIMPLE_DEV_PM_OPS()
allows the compiler to evaluate if the suspend/resume() functions
are used at build time or are simply dead code.

This allows removing __maybe_unused notations from the suspend/resume()
functions.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20240820012616.1449210-1-festevam@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qoriq_thermal.c