Files
erofs-linux/drivers/iio/common
Geert Uytterhoeven b841118ee6 iio: common: ssp_sensors: Protect PM-only functions to kill warning
If CONFIG_PM_SLEEP=n:

    drivers/iio/common/ssp_sensors/ssp_dev.c:644: warning: ‘ssp_suspend’ defined but not used
    drivers/iio/common/ssp_sensors/ssp_dev.c:669: warning: ‘ssp_resume’ defined but not used

Protect the unused functions by #ifdef CONFIG_PM_SLEEP to fix this.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Karol Wrona <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2015-02-22 09:46:55 +00:00
..