diff options
| author | Triet Hoang <triet.hoang.dev@gmail.com> | 2026-08-28 09:13:49 +0700 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-31 02:58:31 +0100 |
| commit | 878bedc83342980834a69357a592720c3d6a6859 (patch) | |
| tree | 9b1eb28ac5b3afcb04965f57d449b3686a680fb1 /scripts/Makefile.thinlto | |
| parent | e7fa36858e8d6640cfa473b6454d9a38d331b068 (diff) | |
| download | linux-next-878bedc83342980834a69357a592720c3d6a6859.tar.gz linux-next-878bedc83342980834a69357a592720c3d6a6859.zip | |
iio: cros_ec: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert deprecated SIMPLE_DEV_PM_OPS() to DEFINE_SIMPLE_DEV_PM_OPS()
and pm_sleep_ptr(). Also replace SIMPLE_DEV_PM_OPS() + EXPORT_SYMBOL_GPL()
with EXPORT_GPL_SIMPLE_DEV_PM_OPS().
This allows us to drop the __maybe_unused annotations from the resume callback.
This is a straightforward cleanup with no functional change intended.
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
