aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-11-12 13:19:20 -0500
committerJonathan Cameron <jic23@kernel.org>2016-11-13 13:07:20 +0000
commitcade8cde796cc330b23f62a24c93d754df62c949 (patch)
tree5b42cb379f26d2174ed17e16ce54c467f0abb062 /scripts/cleanpatch
parentstaging: iio: tsl2583: change current chip state from a tristate to a bool (diff)
downloadlinux-cade8cde796cc330b23f62a24c93d754df62c949.tar.gz
linux-cade8cde796cc330b23f62a24c93d754df62c949.zip
staging: iio: tsl2583: remove redundant write to the control register in taos_probe()
taos_probe() calls i2c_smbus_write_byte() to select the control register, however there are no subsequent calls to i2c_smbus_read_byte(). The write call is unnecessary and is removed by this patch. 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>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions