diff options
author | Jonathan Cameron <[email protected]> | 2023-01-14 17:16:08 +0000 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-01-27 14:49:52 -0800 |
commit | e2eaf9e0e10c8ce2b2740a89d1fab0649345e353 (patch) | |
tree | bc38fd804fa734f362bfe4156ff5c0b5ea4eb3a8 /lib/mpi/mpi-bit.c | |
parent | c51283d76bcaa7bb94645b3917ef32d0e8187547 (diff) |
Input: s6sy761 - switch to SYSTEM_SLEEP_/RUNTIME_PM_OPS() and pm_ptr()
SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() are deprecated as
they require explicit protection against unused function warnings.
The new combination of pm_ptr() and SYSTEM_SLEEP_PM_OPS()/
RUNTIME_PM_OPS() allows the compiler to see the functions,
thus suppressing the warning, but still allowing the unused code to be
removed. Thus also drop the __maybe_unused markings.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Andi Shyti <[email protected]>
Tested-by: Caleb Connolly <[email protected]> # oneplus-guacamole
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions