diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-04 17:12:22 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-15 22:07:09 +0100 |
commit | acc416ff7d405d9d3a8c90b3a78a0fb87f2979eb (patch) | |
tree | 1c8a9e7db4c29eb2a5ea5708a2a4f829df937b34 /Documentation/w1 | |
parent | 1300ab3927184bf871a5c6b3ceb30454a4498800 (diff) | |
download | linux-acc416ff7d405d9d3a8c90b3a78a0fb87f2979eb.tar.gz linux-acc416ff7d405d9d3a8c90b3a78a0fb87f2979eb.tar.bz2 linux-acc416ff7d405d9d3a8c90b3a78a0fb87f2979eb.zip |
iio: imu: lsm6dsx: Use new pm_sleep_ptr() and EXPORT_SIMPLE_DEV_PM_OPS()
These new functions move the burden of removing unused code when
CONFIG_PM_SLEEP is not defined onto the compiler rather than requiring
the use of CONFIG_PM guards and similar.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220220181522.541718-8-jic23@kernel.org
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/20220604161223.461847-5-jic23@kernel.org
Diffstat (limited to 'Documentation/w1')
0 files changed, 0 insertions, 0 deletions