diff options
author | Fabio Estevam <[email protected]> | 2024-08-19 22:26:16 -0300 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-09-02 13:17:53 +0200 |
commit | 41df03900dc586d556b99d4905bed2c1a2e83abf (patch) | |
tree | ff5fe092321fe2ff3efef86e97c50b0f7d4181b2 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | bf2876f6bae3f9ece8d781627623630963b19333 (diff) |
thermal/drivers/imx: Remove __maybe_unused notations
Replace SET_RUNTIME_PM_OPS()/SET SYSTEM_SLEEP_PM_OPS() with their modern
RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() alternatives.
The combined usage of pm_ptr() and RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()
allows the compiler to evaluate if the runtime 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions