diff options
author | 2022-06-21 21:27:18 +0100 | |
---|---|---|
committer | 2022-07-18 18:48:19 +0100 | |
commit | 74f4595ab7f8ff18919c25290e98108671887095 (patch) | |
tree | cc00489c5992e59f7c780c7116e8f50392e1c30a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: light: veml6030: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros (diff) | |
download | linux-dev-74f4595ab7f8ff18919c25290e98108671887095.tar.xz linux-dev-74f4595ab7f8ff18919c25290e98108671887095.zip |
iio: magnetometer: ak8974: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
Using these new macros allows the compiler to remove the unused dev_pm_ops
structure and related functions if !CONFIG_PM without the need to mark
the functions __maybe_unused.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-36-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions