linux/drivers/staging/iio
Brian Masney cc566e90cb staging: iio: tsl2x7x: turn chip off if IIO device registration fails
This patch turns the chip off if IIO device registration fails so that
the error handling mirrors the device remove to make review easier in
preparation for moving this driver out of staging.

This patch also adds a missing error check in the call to
tsl2x7x_chip_on() in tsl2x7x_probe().

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-05-12 12:16:39 +01:00
..
accel Staging: iio: adis16209: Move adis16209 driver out of staging 2018-03-30 13:50:36 +01:00
adc staging: iio: adc: simplify getting .drvdata 2018-04-28 16:17:59 +01:00
addac Staging: iio: adt7316: Move symbol export to definition 2018-03-10 15:18:56 +00:00
cdc staging: iio: ad7746: Fix bound checkings 2018-04-21 15:38:38 +01:00
Documentation staging:iio:docs: drop setting of THIS_MODULE from staging docs. 2017-09-03 18:10:28 +01:00
frequency staging:iio:frequency: drop assign iio_info.driver_module 2017-08-22 22:14:55 +01:00
gyro staging:iio:gyro:adis16060 drop assign iio_info.driver_module 2017-08-22 22:14:55 +01:00
impedance-analyzer staging: iio: ad5933: switch buffer mode to software 2018-01-28 08:24:20 +00:00
light staging: iio: tsl2x7x: turn chip off if IIO device registration fails 2018-05-12 12:16:39 +01:00
meter staging:iio:ade7854: Remove read_reg_* duplications 2018-03-24 13:28:05 +00:00
resolver staging: iio: ad2s1200: Improve readability with be16_to_cpup 2018-04-28 18:12:03 +01:00
Kconfig staging: iio: remove iio-trig-bfin-timer driver 2018-03-26 15:57:27 +02:00
Makefile staging: iio: remove iio-trig-bfin-timer driver 2018-03-26 15:57:27 +02:00
TODO staging: iio: Augment TODO file with GPIO work item 2018-04-23 14:36:10 +02:00