linux/drivers/staging/iio
Arnd Bergmann c266cda29a staging: iio: tsl2583: fix unused function warning
Removing a call to the taos_chip_off() makes it unused when CONFIG_PM
is disabled:

drivers/staging/iio/light/tsl2583.c:438:12: error: ‘taos_chip_off’ defined but not used [-Werror=unused-function]

This removes all the #ifdef in this file, and marks the PM functions as
__maybe_unused instead, which is more reliable and gives us better
compile time coverage.

Fixes: 0561155f6f ("staging: iio: tsl2583: don't shutdown chip when updating the lux table")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-11-08 20:27:12 +00:00
..
accel staging:iio:accel:sca3000 Move out of staging. 2016-10-23 19:34:07 +01:00
adc staging: iio: ad7192: rename regulator 'reg' to 'avdd' 2016-11-05 16:21:34 +00:00
addac Staging: iio: addac: constify attribute_group structures 2016-10-03 21:07:24 +01:00
cdc staging: iio: cdc: ad7746: add additional config defines 2016-11-01 18:50:09 +00:00
Documentation Staging: iio: Documentation: Remove unused sysfs attributes 2016-01-30 16:27:11 +00:00
frequency staging: iio: ad9832: allocate data before using 2016-11-08 20:22:32 +00:00
gyro spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
impedance-analyzer Second round of new device support, cleanups and fixes for IIO in the 4.10 cycle 2016-11-07 09:14:03 +01:00
light staging: iio: tsl2583: fix unused function warning 2016-11-08 20:27:12 +00:00
meter Staging: iio: meter: ade7758_core: implement IIO_CHAN_INFO_SAMP_FREQ 2016-10-11 19:40:25 +01:00
resolver staging: iio: convert bare unsigned usage to unsigned int 2016-03-28 09:37:41 +01:00
trigger First round of IIO new device support, features and cleanups for the 4.7 cycle. 2016-04-04 12:31:05 -07:00
Kconfig iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
Makefile iio: hmc5843: Move hmc5843 out of staging 2016-02-24 20:40:39 +00:00
TODO staging:iio:TODO drop outdated entries in this todo. 2016-10-23 19:33:40 +01:00