summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/adxl34x-i2c.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2023-01-14 17:16:10 +0000
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-01-27 14:49:52 -0800
commit90208b31f9380c376269bf7f24f4ab1f0e144617 (patch)
treeadf0bc1b02f278d6400869a0a2e412f8e3bec2b1 /drivers/input/misc/adxl34x-i2c.c
parent452fcd2dcb1d74de99608930397857204f1335e6 (diff)
downloadlinux-stable-90208b31f9380c376269bf7f24f4ab1f0e144617.tar.gz
linux-stable-90208b31f9380c376269bf7f24f4ab1f0e144617.tar.bz2
linux-stable-90208b31f9380c376269bf7f24f4ab1f0e144617.zip
Input: stmfts - 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 <Jonathan.Cameron@huawei.com> Cc: Andi Shyti <andi@etezian.org> Link: https://lore.kernel.org/r/20230114171620.42891-7-jic23@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/adxl34x-i2c.c')
0 files changed, 0 insertions, 0 deletions