Files
linux/drivers
Jonathan Cameron 4a96b4e2fa iio:temperature:mlx90614: Switch from CONFIG_PM* guards to pm_ptr() etc
Letting the compiler remove these functions when the kernel is built
without one or  more of CONFIG_PM/CONFIG_PM_SLEEP support is simpler and
less error prone than the use of #ifdef based config guards.

Removing instances of this approach from IIO also stops them being
copied into new drivers.

Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Crt Mori <[email protected]>
Reviewed-by: Crt Mori <[email protected]>
Reviewed-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2022-02-18 11:46:04 +00:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:37 +02:00
…
2022-01-22 08:33:37 +02:00
…
…
…
…
…
…
…
…
…
…
…
2022-01-22 08:33:37 +02:00
…
…
…
2022-01-22 08:33:37 +02:00
…
…