Files
linux/drivers/iio/temperature
Jonathan Cameron fb4e8e2dad 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]
2022-07-18 18:48:18 +01:00
..