Jonathan Cameron
ebbdbef28f
Input: cyttsp4 - use EXPORT_GPL_RUNTIME_DEV_PM_OPS()
...
SET_SYSTEM_SLEEP_PM_OPS() and RUNTIME_PM_OPS() are deprecated as
they requires explicit protection against unused function warnings.
The new combination of pm_ptr() EXPORT_GPL_RUNTIME_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 #ifdef guards.
Note that we are replacing an unconditional call to the suspend
and resume functions for sleep use cases with one via
pm_runtime_force_suspend() / pm_runtime_force_resume() that only
do anything to the device if we are not already in the appropriate
runtime suspended state.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
--
I 'think' this should be fine in that it can only reduce the number
of unnecessary suspends. If anyone can test that would be great.
Link: https://lore.kernel.org/r/20230114171620.42891-11-jic23@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com >
2023-01-27 14:49:53 -08:00
..
2019-08-14 10:49:01 -07:00
2023-01-09 20:25:23 -08:00
2022-12-02 14:53:44 -08:00
2019-05-30 11:25:18 -07:00
2020-12-02 22:10:33 -08:00
2019-05-30 11:25:18 -07:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2022-06-10 14:51:35 +02:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:24 -08:00
2019-10-27 11:14:22 -07:00
2023-01-09 20:25:24 -08:00
2023-01-09 20:25:25 -08:00
2023-01-27 14:49:53 -08:00
2020-11-08 22:35:48 -08:00
2023-01-27 14:49:53 -08:00
2023-01-27 14:49:53 -08:00
2022-12-02 14:53:44 -08:00
2021-06-01 21:13:11 -07:00
2021-06-01 21:13:11 -07:00
2019-06-05 17:36:37 +02:00
2022-12-02 14:53:44 -08:00
2021-06-01 21:13:11 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:25 -08:00
2023-01-09 20:25:25 -08:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:25 -08:00
2023-01-09 20:25:25 -08:00
2023-01-09 20:25:25 -08:00
2021-02-18 14:39:42 -08:00
2022-06-28 22:45:43 -07:00
2019-08-14 10:49:01 -07:00
2019-06-19 17:09:55 +02:00
2021-12-09 21:20:29 -08:00
2023-01-09 20:28:19 -08:00
2022-02-28 23:26:30 -08:00
2022-09-29 16:25:42 -07:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:25 -08:00
2022-12-02 14:53:45 -08:00
2019-05-21 10:50:45 +02:00
2021-01-26 07:42:27 +01:00
2022-12-02 14:53:45 -08:00
2022-11-17 22:14:43 -08:00
2022-12-02 14:53:45 -08:00
2023-01-09 20:25:25 -08:00
2023-01-09 20:25:26 -08:00
2023-01-09 20:25:26 -08:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:28 -08:00
2023-01-09 20:25:26 -08:00
2019-06-19 17:09:55 +02:00
2022-11-22 14:20:28 -08:00
2021-03-20 19:48:37 -07:00
2022-05-07 22:55:48 +02:00
2022-11-07 11:28:55 -08:00
2022-12-02 14:53:46 -08:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:26 -08:00
2023-01-09 20:25:26 -08:00
2023-01-09 20:25:26 -08:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:26 -08:00
2023-01-09 20:25:27 -08:00
2019-06-19 17:09:55 +02:00
2019-07-24 12:48:47 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:27 -08:00
2021-03-22 17:59:51 +01:00
2023-01-09 20:28:19 -08:00
2021-10-15 22:11:03 -07:00
2022-12-02 14:53:46 -08:00
2020-08-19 21:44:11 +02:00
2023-01-27 14:49:52 -08:00
2023-01-09 20:25:27 -08:00
2022-12-02 14:53:47 -08:00
2023-01-09 20:25:27 -08:00
2023-01-27 14:49:52 -08:00
2021-01-19 19:03:18 -08:00
2022-08-17 14:09:39 +02:00
2022-08-18 15:44:08 -07:00
2023-01-09 20:25:27 -08:00
2022-12-02 14:53:47 -08:00
2023-01-09 20:25:27 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2022-10-24 05:18:55 -07:00
2019-10-29 17:13:40 -07:00
2019-06-05 17:37:05 +02:00
2023-01-27 14:49:53 -08:00
2021-10-12 19:48:54 -07:00
2023-01-27 14:49:53 -08:00
2023-01-27 14:49:53 -08:00
2022-12-02 14:53:47 -08:00
2020-06-14 11:49:59 +01:00
2021-03-15 17:12:02 -07:00
2023-01-09 20:25:27 -08:00
2022-08-18 15:44:08 -07:00
2023-01-09 20:25:27 -08:00
2022-08-18 15:44:08 -07:00
2023-01-09 20:25:27 -08:00
2023-01-09 20:25:28 -08:00
2021-03-25 15:27:56 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-12-02 14:53:47 -08:00
2023-01-09 20:25:28 -08:00
2023-01-09 20:25:28 -08:00
2022-05-07 22:55:48 +02:00