diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-07 20:04:13 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-05 18:08:42 +0100 |
commit | 2f61ff8272967c9bdcba810aa978170814b08f7c (patch) | |
tree | 70998670b02da8bcdf8b3cf6e76f55b77e078c55 /Documentation/ABI/testing | |
parent | c13219cececed248df6feacb0d33326266234b7b (diff) | |
download | linux-2f61ff8272967c9bdcba810aa978170814b08f7c.tar.gz |
iio: pressure: icp10100: Switch from UNIVERSAL to DEFINE_RUNTIME_DEV_PM_OPS().
The suspend and resume callbacks in this driver appear to be safe
to call repeatedly, but why do so when we can use the
DEFINE_RUNTIME_DEV_PM_OPS() macro to supply callbacks that check if
we are already runtime suspended before doing unnecessary work.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20220807190414.1039028-2-jic23@kernel.org
Diffstat (limited to 'Documentation/ABI/testing')
0 files changed, 0 insertions, 0 deletions