diff options
author | Jonathan Cameron <[email protected]> | 2022-06-21 21:27:08 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-07-18 18:48:18 +0100 |
commit | fb4e8e2dadc91ea6478045910192e46bc880c32c (patch) | |
tree | 840193107293ba1a806f0e69f68f61b6bf3ed2d2 /scripts/gdb/linux | |
parent | dc69c61019dcbcc4d8e489db6420812ddc0ceb35 (diff) |
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 <[email protected]>
Cc: Nuno Sá <[email protected]>
Reviewed-by: Nuno Sá <[email protected]>
Reviewed-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions