Files
linux/drivers/iio/chemical
Jonathan Cameron 479e575aee iio: chemical: scd4x: 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: Roan van Dijk <[email protected]>
Reviewed-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2022-07-18 18:48:17 +01:00
..
2021-12-16 16:34:54 +00:00