Jonathan Cameron 18b8fe43d5 Input: synaptics_i2c - 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: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230102181842.718010-29-jic23@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-01-09 20:25:23 -08:00
..
2021-12-20 00:59:50 -08:00
2020-12-02 22:10:33 -08:00
2020-12-02 22:10:33 -08:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-09-29 16:25:42 -07:00
2022-10-09 22:30:23 -07:00
2022-09-29 16:25:42 -07:00