summaryrefslogtreecommitdiff
path: root/drivers/iio/light
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-21 23:27:08 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-18 20:48:18 +0300
commitfb4e8e2dadc91ea6478045910192e46bc880c32c (patch)
tree840193107293ba1a806f0e69f68f61b6bf3ed2d2 /drivers/iio/light
parentdc69c61019dcbcc4d8e489db6420812ddc0ceb35 (diff)
downloadlinux-fb4e8e2dadc91ea6478045910192e46bc880c32c.tar.xz
iio: temperature: ltc2983: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
Using these newer macros allows the compiler to remove the unused structure and functions when !CONFIG_PM_SLEEP + removes the need to mark pm functions __maybe_unused. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220621202719.13644-26-jic23@kernel.org
Diffstat (limited to 'drivers/iio/light')
0 files changed, 0 insertions, 0 deletions