OpenCloudOS-Kernel/drivers/iio/light
Sachin Kamat e020325541 iio: light: vcnl4000: Remove redundant code
The if check is redundant as the value obtained from
iio_device_register() is already in the required format.
Hence return the function directly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-10-24 14:48:14 +01:00
..
Kconfig iio: cm36651: Add CM36651 proximity/light sensor 2013-10-17 23:40:19 +01:00
Makefile iio: cm36651: Add CM36651 proximity/light sensor 2013-10-17 23:40:19 +01:00
adjd_s311.c First round of new drivers, functionality and cleanups for IIO in the 3.13 cycle 2013-09-22 11:30:12 -07:00
apds9300.c iio:apds9300: Use new event config interface 2013-10-12 12:41:07 +01:00
cm36651.c iio: cm36651: Add CM36651 proximity/light sensor 2013-10-17 23:40:19 +01:00
gp2ap020a00f.c iio: light: gp2ap020a00f: Include linux/of.h header 2013-10-18 20:05:57 +01:00
hid-sensor-als.c iio: Remove unnecessary casts for iio_push_to_buffers() 2013-09-15 19:05:07 +01:00
lm3533-als.c iio: light: lm3533-als: Use devm_iio_device_alloc 2013-08-03 18:55:25 +01:00
tcs3472.c iio:tcs3472: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:59 +01:00
tsl2563.c iio:tsl2563: Switch to new event config interface 2013-10-12 12:39:27 +01:00
tsl4531.c iio: Add tsl4531 ambient light sensor driver 2013-09-14 21:17:15 +01:00
vcnl4000.c iio: light: vcnl4000: Remove redundant code 2013-10-24 14:48:14 +01:00