iio: convert to common i2c_check_functionality() return value
authorMatt Ranostay <mranostay@gmail.com>
Sat, 27 Feb 2016 06:13:49 +0000 (22:13 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 27 Feb 2016 17:17:43 +0000 (17:17 +0000)
commitf8d9d3b434cd50f7a0a3f0c383736af5e724c34c
tree2c37b391817a6940c43a2b9c2d75dee0e23cb1b9
parent33da559f861b9942404c1ad93691d5fe473e0348
iio: convert to common i2c_check_functionality() return value

Previously most drivers that used a i2c_check_functionality() check
condition required various error codes on failure. This patchset
converts to a standard of -EOPNOTSUPP

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
20 files changed:
drivers/iio/adc/mcp3422.c
drivers/iio/adc/ti-adc081c.c
drivers/iio/chemical/vz89x.c
drivers/iio/humidity/hdc100x.c
drivers/iio/humidity/htu21.c
drivers/iio/humidity/si7005.c
drivers/iio/humidity/si7020.c
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
drivers/iio/light/bh1750.c
drivers/iio/light/jsa1212.c
drivers/iio/potentiometer/mcp4531.c
drivers/iio/pressure/mpl115_i2c.c
drivers/iio/pressure/ms5611_i2c.c
drivers/iio/pressure/ms5637.c
drivers/iio/pressure/t5403.c
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
drivers/iio/temperature/mlx90614.c
drivers/iio/temperature/tmp006.c
drivers/iio/temperature/tsys01.c
drivers/iio/temperature/tsys02d.c