linux_dsm_epyc7002/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 <geert@linux-m68k.org>
Acked-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-02-22 09:46:55 +00:00
..
hid-sensors iio: hid_sensor_hub: Common PM functions 2015-01-25 22:55:39 +00:00
ssp_sensors iio: common: ssp_sensors: Protect PM-only functions to kill warning 2015-02-22 09:46:55 +00:00
st_sensors iio: common: remove unnecessary sizeof(u8) 2014-12-12 12:28:25 +00:00
Kconfig iio: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00
Makefile iio: common: ssp_sensors: Add sensorhub driver 2015-01-29 18:49:05 +00:00