linux/drivers/staging
Brian Masney c2b0d2cfb0 staging: iio: tsl2583: remove redudant i2c call in taos_als_calibrate()
taos_als_calibrate() queries the control register to determine if the
unit is powered on and has the ADC enabled. It then queries the same
register a second time to determine if the ADC reading is valid. This
patch removes the redundant i2c_smbus_read_byte_data() call.

Verified that the driver still functions correctly using a TSL2581
hooked up to a Raspberry Pi 2.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-11-06 11:54:32 +00:00
..
android Staging: android: ion: Make a read-only structure 2016-10-24 15:33:27 +02:00
board
clocking-wizard
comedi staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig 2016-10-16 10:26:17 +02:00
dgnc staging: dgnc: Add const qualifier to struct declaration. 2016-10-17 09:46:58 +02:00
emxx_udc Staging: emxx_udc: constify usb_ep_ops structure 2016-10-16 10:25:08 +02:00
fbtft Staging: fbtft: Fix too many leading tabs warning 2016-10-16 10:26:14 +02:00
fsl-mc Staging/IIO patches for 4.9-rc1 2016-10-05 14:50:51 -07:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x
goldfish
greybus staging: greybus: audio: remove redundant slot field 2016-10-24 15:48:02 +02:00
gs_fpgaboot
i4l staging: i4l: pcbit: replace some include asm/*.h with linux/*.h 2016-10-16 10:27:26 +02:00
iio staging: iio: tsl2583: remove redudant i2c call in taos_als_calibrate() 2016-11-06 11:54:32 +00:00
ks7010 staging: ks7010: Remove braces around single statement blocks 2016-10-17 09:55:26 +02:00
lustre Staging: lustre: indent an if statement 2016-10-16 10:27:40 +02:00
media Staging: media: lirc: Use unsigned int instead unsigned 2016-10-16 10:26:27 +02:00
most staging: most: hdm-usb: fix mbo buffer leak 2016-10-16 10:25:14 +02: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: core: constify local structure 2016-10-17 10:27:55 +02:00
rtl8192e staging: rtl8192e: Compress return logic into one line. 2016-10-17 10:27:55 +02:00
rtl8192u staging: rtl8192u: remove unused functions in r8192U_core.c 2016-09-23 19:00:44 +02:00
rtl8712 Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
rts5208 staging: rts5208: rtsx.c: Alignment fix 2016-10-16 10:27:20 +02:00
skein Staging: skein: skein_api: Remove useless type conversion 2016-10-16 10:25:07 +02:00
slicoss staging: slicoss: cleaning up codestyle warnings 2016-09-27 13:08:04 +02:00
sm750fb staging: sm750fb: Add const qualifier to struct declaration. 2016-10-17 09:46:58 +02:00
speakup Staging: speakup: constify attribute_group structures 2016-10-02 17:14:03 +02:00
unisys Staging: unisys: visorbus: Make a read-only structure 2016-10-17 10:27:55 +02:00
vc04_services staging: vc04_services: Add casts to remove warnings in vchiq_core.c 2016-10-24 15:21:27 +02:00
vme
vt6655 Staging: vt6655: Replace dwIoBase by iobase 2016-10-17 10:30:09 +02:00
vt6656 staging: vt6656: Remove unnecessary parentheses. 2016-10-24 15:35:03 +02:00
wilc1000 staging: wilc1000: Remove unnecessary extern variables. 2016-10-17 09:54:15 +02:00
wlan-ng staging: wlan-ng: cfg80211: Remove unnecessary parentheses around variables 2016-10-16 10:26:25 +02:00
xgifb staging: xgifb: Remove unnecessary parentheses. 2016-10-24 15:35:03 +02:00
Kconfig staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
Makefile staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00