summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-01-14 17:16:07 +0000
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-01-27 14:49:52 -0800
commitc51283d76bcaa7bb94645b3917ef32d0e8187547 (patch)
tree592f99eaa3aac259fde3bb9892d187e71a9aac6f /drivers/input/rmi4
parente04a088b6d970890e52f15a418a1b32894eb8ae1 (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 <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20230114171620.42891-4-jic23@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4')
0 files changed, 0 insertions, 0 deletions