diff options
author | 2022-06-21 21:27:04 +0100 | |
---|---|---|
committer | 2022-07-18 18:48:18 +0100 | |
commit | c422aa418a7ddd3bde04b2c0ad573c34aae53d35 (patch) | |
tree | 68acddfce9a6ce29394cad05bd7957ab71107660 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: light: al3320a: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() (diff) | |
download | linux-dev-c422aa418a7ddd3bde04b2c0ad573c34aae53d35.tar.xz linux-dev-c422aa418a7ddd3bde04b2c0ad573c34aae53d35.zip |
iio: light: as73211: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
Using these newer macros allows the compiler to remove the unused
structure and functions when !CONFIG_PM_SLEEP + removes the need to
mark pm functions __maybe_unused.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Christian Eggers <ceggers@arri.de>
Reviewed-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-22-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions