diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 21:27:10 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 18:48:19 +0100 |
commit | 2583f5e828155c2dcacda64c1f42e86d8a4c2d5b (patch) | |
tree | bdcc8333cd3d32d042c34bd0c987c51e553e5818 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a79163d19ef7b385f48876898c28a58f35a1df35 (diff) | |
download | linux-2583f5e828155c2dcacda64c1f42e86d8a4c2d5b.tar.gz linux-2583f5e828155c2dcacda64c1f42e86d8a4c2d5b.tar.bz2 linux-2583f5e828155c2dcacda64c1f42e86d8a4c2d5b.zip |
iio: adc: imx8qxp: Switch to DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr()
Switching to these newer macros allows the compiler to remove
the unused functions and struct dev_pm_ops if !CONFIG_PM without
the need to mark anything __maybe_unused.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Cai Huoqing <cai.huoqing@linux.dev>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-28-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions