alistair23-linux/drivers/iio
Arnd Bergmann 9e8be75e27 iio: health/afe4403: mark suspend/resume functions __maybe_unused
The newly added afe4403 driver implements suspend/resume using the
SIMPLE_DEV_PM_OPS() macro, which leaves out references to the actual
functions when CONFIG_PM is disabled, causing a harmless warning:

health/afe4403.c:509:12: error: 'afe4403_suspend' defined but not used
health/afe4403.c:530:12: error: 'afe4403_resume' defined but not used

This marks the functions as __maybe_unused so we don't get those
warnings.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: eec96d1e2d ("iio: health: Add driver for the TI AFE4403 heart monitor")
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-02-17 19:35:28 +00:00
..
accel Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
adc 2nd round of new IIO device support, features and cleanups for the 4.6 cycle. 2016-02-14 11:10:38 -08:00
amplifiers
buffer iio: buffer-dmaengine: Use dmaengine_terminate_sync() 2016-02-09 21:05:17 +00:00
chemical iio: chemical: select IRQ_WORK for ATLAS ph sensor 2016-02-06 18:36:58 +00:00
common iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
dac 2nd round of new IIO device support, features and cleanups for the 4.6 cycle. 2016-02-14 11:10:38 -08:00
dummy Second set of IIO new drivers, functionality and cleanups for the 4.5 cycle. 2015-12-26 17:03:33 -08:00
frequency
gyro iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
health iio: health/afe4403: mark suspend/resume functions __maybe_unused 2016-02-17 19:35:28 +00:00
humidity Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
imu iio: imu: inv_mpu6050: Add SPI support for MPU6000 2016-02-13 20:54:07 +00:00
light Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
magnetometer iio: ak8975: constify ak_def structures 2016-01-10 12:35:33 +00:00
orientation
potentiometer
pressure 2nd round of new IIO device support, features and cleanups for the 4.6 cycle. 2016-02-14 11:10:38 -08:00
proximity iio: proximity: lidar: correct return value 2016-01-03 17:54:08 +00:00
temperature
trigger iio: trigger: Introduce IIO hrtimer based trigger 2015-12-03 18:19:27 +00:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: Add helper function for calculating scan index storage size 2016-02-06 18:21:35 +00:00
industrialio-configfs.c iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem 2015-12-05 16:25:30 +00:00
industrialio-core.c First round of new IIO device support, features and cleanups for the 4.6 cycle. 2016-02-01 13:10:03 -08:00
industrialio-event.c
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c First set of IIO fixes for the 4.5 cycle. 2016-02-01 13:07:38 -08:00
Kconfig iio: light: add MAX30100 oximeter driver support 2015-12-12 12:14:37 +00:00
Makefile iio: light: add MAX30100 oximeter driver support 2015-12-12 12:14:37 +00:00