alistair23-linux/drivers/staging/iio/addac
Jeremy Fertic 5c608d4dd4 Revert "Staging: iio: adt7316: Add an extra check for 'ret' equals to 0"
This reverts commit 00426e9978.

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>
2018-12-08 11:15:54 +00:00
..
adt7316-i2c.c Revert "Staging: iio: adt7316: Add an extra check for 'ret' equals to 0" 2018-12-08 11:15:54 +00:00
adt7316-spi.c Staging: iio: adt7316: Switch irq_flags to a local variable 2018-11-25 11:49:33 +00:00
adt7316.c Staging: iio: adt7316: Change the name from irq_flags to irq_type 2018-11-25 11:52:19 +00:00
adt7316.h Staging: iio: adt7316: Switch irq_flags to a local variable 2018-11-25 11:49:33 +00:00
Kconfig Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
Makefile