diff options
author | Jonathan Cameron <[email protected]> | 2023-01-14 17:16:07 +0000 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-01-27 14:49:52 -0800 |
commit | c51283d76bcaa7bb94645b3917ef32d0e8187547 (patch) | |
tree | 592f99eaa3aac259fde3bb9892d187e71a9aac6f /lib/mpi/mpi-bit.c | |
parent | e04a088b6d970890e52f15a418a1b32894eb8ae1 (diff) |
Input: samsung-keypad - switch to pm_ptr() and SYSTEM_SLEEP/RUNTIME_PM_OPS()
The SET_ variants are deprecated as they require explicit protection
against unused function warnings. The new combination of pm_ptr()
and SYSTEM_SLEEP/RUNTIME_DEV_PM_OPS() allow the compiler to see the
functions, thus suppressing the warning, but still allowing the unused
code to be removed. Thus also drop the #ifdef guards.
Signed-off-by: Jonathan Cameron <[email protected]>
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