summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJeremy Fertic <jeremyfertic@gmail.com>2018-12-04 18:49:00 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-12-08 11:15:54 +0000
commit5c608d4dd49a4ffbedc85f8a89820173df12b111 (patch)
tree71ab277b1863dd833dbc97c6bda4354c17ad6d19 /block
parentc3e566c8cb553026cf530f01c80b665a2a0926f9 (diff)
Revert "Staging: iio: adt7316: Add an extra check for 'ret' equals to 0"
This reverts commit 00426e99789357dbff7e719a092ce36a3ce49d94. i2c_smbus_read_byte() returns 0 when a byte with the value 0 is read from the device. This is a valid read so revert the check for 0. Signed-off-by: Jeremy Fertic <jeremyfertic@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions