linux/drivers/iio/common/ssp_sensors
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
..
Kconfig
Makefile
ssp_dev.c iio: common: ssp_sensors: Protect PM-only functions to kill warning 2015-02-22 09:46:55 +00:00
ssp_iio_sensor.h iio:common:ssp_sensors fix warnings due to 32 bit instead of 64 bit passed to do_div 2015-01-31 09:41:14 +00:00
ssp_iio.c
ssp_spi.c
ssp.h