Jonathan Cameron
d65daa79d4
iio:adc:stm32:Switch from CONFIG_PM guards to pm_ptr()
...
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM support is simpler and less error prone than the
use of #ifdef based config guards.
Removing instances of this approach from IIO also stops them being
copied into new drivers.
The new DEFINE_RUNTIME_DEV_PM_OPS() macro reduces boilerplate.
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220130193147.279148-45-jic23@kernel.org
2022-02-21 19:33:03 +00:00
..
2022-02-21 19:33:03 +00:00
2021-10-19 08:30:43 +01:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2019-11-16 17:06:10 +00:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2021-11-17 17:51:42 +00:00
2021-10-19 08:27:35 +01:00
2021-03-25 19:13:52 +00:00
2021-05-17 13:49:05 +01:00
2021-06-13 17:00:17 +01:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2021-12-16 12:23:54 +00:00
2021-06-13 17:00:17 +01:00
2021-11-17 17:52:36 +00:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2022-02-18 11:42:26 +00:00
2021-06-13 17:00:17 +01:00
2021-05-22 08:32:36 +01:00
2021-09-14 12:00:31 +01:00
2021-06-13 17:00:17 +01:00
2022-02-18 11:42:26 +00:00
2021-05-17 13:49:06 +01:00
2021-10-19 11:44:28 +02:00
2022-02-18 11:43:11 +00:00
2021-12-22 12:33:01 +01:00
2021-12-22 12:33:01 +01:00
2021-10-19 08:27:34 +01:00
2020-09-03 19:40:45 +01:00
2021-10-19 08:27:35 +01:00
2020-06-14 11:49:59 +01:00
2022-02-07 20:40:39 +00:00
2021-10-19 08:27:34 +01:00
2021-11-17 17:52:35 +00:00
2021-12-12 17:13:11 +00:00
2021-10-17 11:05:53 +01:00
2022-02-18 11:43:11 +00:00
2021-10-19 08:27:34 +01:00
2022-01-23 18:03:35 +00:00
2021-06-14 11:42:41 +01:00
2021-11-17 17:51:33 +00:00
2021-10-19 08:31:33 +01:00
2022-01-23 18:03:36 +00:00
2021-07-31 18:14:53 +01:00
2021-10-19 08:27:34 +01:00
2021-12-22 12:33:01 +01:00
2021-10-19 08:27:34 +01:00
2021-11-17 17:51:31 +00:00
2020-07-07 20:24:08 +01:00
2020-06-14 11:49:59 +01:00
2020-06-14 11:49:59 +01:00
2020-07-07 20:24:08 +01:00
2020-09-03 19:40:49 +01:00
2020-07-07 20:24:09 +01:00
2019-12-15 12:15:19 +00:00
2021-12-21 15:10:09 +00:00
2021-10-19 11:44:28 +02:00
2021-10-20 14:43:52 +01:00
2021-10-20 14:43:52 +01:00
2021-10-19 08:27:35 +01:00
2022-01-23 18:03:36 +00:00
2021-06-03 18:24:14 +01:00
2020-07-13 15:05:59 +01:00
2020-09-01 16:08:07 +02:00
2021-12-12 17:12:59 +00:00
2020-06-14 11:49:59 +01:00
2021-10-20 14:43:52 +01:00
2021-05-17 13:49:12 +01:00
2021-05-17 13:49:12 +01:00
2022-01-23 18:03:35 +00:00
2021-06-14 11:42:41 +01:00
2021-10-19 08:27:34 +01:00
2021-03-25 19:13:49 +00:00
2022-02-18 11:43:11 +00:00
2022-01-30 12:21:25 +00:00
2021-01-16 18:23:36 +00:00
2020-06-14 14:20:08 +01:00
2022-01-30 12:21:25 +00:00
2022-01-30 12:21:25 +00:00
2021-12-21 15:10:09 +00:00
2022-01-30 12:21:25 +00:00
2022-02-18 11:43:12 +00:00
2022-01-23 18:03:35 +00:00
2021-05-17 13:54:24 +01:00
2020-07-07 20:24:09 +01:00
2021-03-25 19:13:49 +00:00
2022-02-21 19:33:03 +00:00
2021-10-20 14:43:54 +01:00
2022-02-21 19:33:03 +00:00
2021-04-07 08:36:38 +01:00
2021-05-17 13:54:26 +01:00
2020-10-08 20:44:41 +01:00
2021-12-16 12:34:48 +00:00
2020-06-14 11:49:59 +01:00
2021-04-07 08:36:39 +01:00
2021-10-21 10:02:48 +01:00
2021-12-21 15:13:29 +00:00
2022-01-23 18:03:35 +00:00
2021-10-19 08:29:22 +01:00
2021-10-21 20:03:01 +01:00
2021-06-03 18:24:14 +01:00
2021-06-03 18:24:14 +01:00
2021-12-12 17:13:07 +00:00
2021-12-12 17:13:14 +00:00
2021-05-17 13:49:13 +01:00
2021-12-21 15:10:09 +00:00
2021-10-20 14:43:53 +01:00
2021-09-14 12:00:34 +01:00
2021-12-16 12:32:04 +00:00
2020-07-13 15:05:59 +01:00
2022-01-23 18:03:37 +00:00
2022-01-30 12:21:25 +00:00
2022-02-18 11:43:12 +00:00
2022-02-18 11:43:12 +00:00
2020-06-14 11:49:59 +01:00
2021-12-21 15:10:09 +00:00
2021-11-17 17:51:44 +00:00
2021-01-09 14:25:24 +00:00
2021-10-20 14:43:53 +01:00