diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-07 21:56:13 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 20:42:56 +0300 |
commit | 93176acee936d330b600ca93b3ca6e9c40053fa9 (patch) | |
tree | 75f0eea038dd1015ab7d85c65410580a2e238821 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 130476acfdc1663bc402faa3f2faab5a910f696a (diff) | |
download | linux-93176acee936d330b600ca93b3ca6e9c40053fa9.tar.xz |
iio: proximity: sx9310: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
These new macros avoid the need for marking the callbacks __maybe_unused
whilst ensuring both callbacks and structure may be dropped by the compiler
if CONFIG_PM_SLEEP is not enabled.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20220807185618.1038812-2-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions