linux/drivers/staging
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
..
android Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
board
clocking-wizard staging: clocking-wizard: Fix incorrect type of speed grade 2016-10-25 09:54:32 +02:00
comedi staging: comedi: ni_tio: fix warnings of uninitialized variables 2016-11-07 11:22:47 +01:00
dgnc staging: dgnc: Fix multi-line comment alignment 2016-10-30 11:09:03 -04:00
emxx_udc Staging:emxx_udc:emxx_udc: Compression of lines for immediate return 2016-11-07 11:26:57 +01:00
fbtft Staging:fbtft: Replace decimal permissions with 4 digit octal 2016-10-25 09:50:53 +02:00
fsl-mc staging: fsl-mc: uprev binary interface to match MC v10.x 2016-10-27 15:15:11 +02:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x
goldfish
greybus Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
gs_fpgaboot Staging: gs_fpgaboot: Use octal permissions '0444' 2016-10-25 09:40:44 +02:00
i4l staging: i4l: pcbit: remove duplicated include from capi.c 2016-10-25 09:59:48 +02:00
iio staging: iio: tsl2583: fix unused function warning 2016-11-08 20:27:12 +00:00
ks7010 staging: ks7010: add a blank line after declarations 2016-10-27 15:19:37 +02:00
lustre staging: lustre: fixed shadowed variable in socklnd_cb.c 2016-11-07 11:40:49 +01:00
media staging: st-cec: add parentheses around complex macros 2016-11-07 11:31:12 +01:00
most staging: most: hdm-usb: add comment 2016-10-30 11:09:02 -04:00
mt29f_spinand
netlogic Staging: netlogic: Compress return logic into one line 2016-10-16 10:27:33 +02:00
nvec
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon
rtl8188eu Staging: rtl8188eu: Fix code indention found by checkpatch. 2016-10-30 11:09:03 -04:00
rtl8192e staging: rtl8192e: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
rtl8192u staging: rtl8192u: Standardize test for NULL. 2016-10-30 11:09:03 -04:00
rtl8712 staging : rtl8712: Free memory when kmalloc fails 2016-11-07 11:24:52 +01:00
rts5208 staging: rts5208: rtsx.c: Fix invalid use of sizeof in rtsx_probe() 2016-10-25 09:59:48 +02:00
skein Staging: skein: skein_api: Remove useless type conversion 2016-10-16 10:25:07 +02:00
slicoss staging: slicoss: replace memcpy_fromio with memcpy 2016-10-25 10:00:28 +02:00
sm750fb staging: sm750fb: Replace pr_*() with dev_*(). 2016-11-07 11:31:12 +01:00
speakup Staging: speakup: Remove unnecessary space after cast 2016-11-07 10:50:35 +01:00
unisys staging: unisys: visorinput: Add default conditions to case statements 2016-11-07 10:56:39 +01:00
vc04_services staging: vc04_services: fix up some printk warnings 2016-11-07 11:18:42 +01:00
vme Staging: vme: Fix parenthesis alignment. 2016-11-07 10:58:32 +01:00
vt6655 staging: vt6655: card.c: Fixing multiple assignments 2016-11-07 11:31:12 +01:00
vt6656 Staging:vt6656:main_usb: fix Block comments should align the * on each line 2016-10-25 10:56:17 +02:00
wilc1000 Merge 4.9-rc3 into staging-next 2016-10-30 06:38:44 -04:00
wlan-ng staging: wlan-ng: remove unnecessary blank line 2016-11-07 11:32:27 +01:00
xgifb Staging: xgifb: Fix NULL pointer comparison warning 2016-10-25 10:56:16 +02:00
Kconfig staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
Makefile staging: vc04_services: use bcm2835 consequently 2016-10-27 15:23:54 +02:00