summaryrefslogtreecommitdiffstats
path: root/drivers/input/input-core-private.h
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-12-04 18:08:19 +0000
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-12-07 13:27:15 -0800
commitffa5d80fa99a65465feb47012a916e8b3f01c10a (patch)
tree24c1b2092808323bfc4cd774bfdd9499bb9a83f3 /drivers/input/input-core-private.h
parentb346200943a27ddf94c3a92755b3748d25c2eb13 (diff)
downloadlinux-ffa5d80fa99a65465feb47012a916e8b3f01c10a.tar.bz2
Input: qt1050 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
SIMPLE_DEV_PM_OPS() is deprecated as it requires explicit protection against unused function warnings. The new combination of pm_sleep_ptr() and DEFINE_SIMPLE_DEV_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> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.kernel.org/r/20221204180841.2211588-11-jic23@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/input-core-private.h')
0 files changed, 0 insertions, 0 deletions