diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 21:27:14 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 18:48:19 +0100 |
commit | 5672f3982ac98c8a8b8f1c5d4e2b3cd03342ea9d (patch) | |
tree | 7f80d1a3995d163ff313da250fb422d9a59620c9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f541541a37e4887f89b5b5473d41cf88671eb1a4 (diff) | |
download | linux-5672f3982ac98c8a8b8f1c5d4e2b3cd03342ea9d.tar.gz linux-5672f3982ac98c8a8b8f1c5d4e2b3cd03342ea9d.tar.bz2 linux-5672f3982ac98c8a8b8f1c5d4e2b3cd03342ea9d.zip |
iio: light: tsl2591: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
Using these new macros allows removal of unused pm_ops structure and
functions if !CONFIG_PM without the need to mark the functions
__maybe_unused.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Joe Sandom <joe.g.sandom@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-32-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions