linux-stable/drivers/iio/light
Linus Walleij 0dd09ca419 iio: light: bh1780: assign a static name
Using the struct i2c_device->id field for naming the light sensor
is a bad idea: when booting from the pure device tree this is NULL
and that causes the device not to have the "name" property in
sysfs and that in turn confuses the "lsiio" command to stop listing
devices.

So instead of using the device .id, use the hard string "bh1780",
which works just fine.

Fixes: 1f0477f183 ("iio: light: new driver for the ROHM BH1780")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-05-29 19:51:29 +01:00
..
acpi-als.c iio: light: acpi-als: Report data as processed 2016-01-16 12:58:18 +00:00
adjd_s311.c
al3320a.c
apds9300.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
apds9960.c 2nd set of new device support, features and cleanup for IIO in the 4.7 cycle. 2016-04-26 15:07:23 -07:00
bh1750.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
bh1780.c iio: light: bh1780: assign a static name 2016-05-29 19:51:29 +01:00
cm3232.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
cm3323.c Merge 4.2-rc3 into staging-next 2015-07-20 13:21:28 -07:00
cm32181.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
cm36651.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
gp2ap020a00f.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
hid-sensor-als.c
hid-sensor-prox.c
isl29125.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
jsa1212.c iio: convert to common i2c_check_functionality() return value 2016-02-27 17:17:43 +00:00
Kconfig max44000: Initial support 2016-04-24 10:06:55 +01:00
lm3533-als.c iio: light: lm3533-als: Print error message on invalid resistance 2015-10-31 10:05:32 +00:00
ltr501.c iio-light: Use a signed return type for ltr501_match_samp_freq() 2015-12-19 17:00:29 +00:00
Makefile max44000: Initial support 2016-04-24 10:06:55 +01:00
max44000.c max44000: Remove scale from proximity 2016-05-21 20:21:17 +01:00
opt3001.c iio: light: opt3001: enable operation w/o IRQ 2016-01-30 16:26:47 +00:00
pa12203001.c iio: light: pa12203001: Poweroff chip if register fails 2015-11-08 15:34:40 +00:00
rpr0521.c iio: Reconcile operation order between iio_register/unregister and pm functions 2015-11-08 15:36:53 +00:00
stk3310.c iio: remove unused gpio consumer.h include 2016-04-03 10:27:47 +01:00
tcs3414.c Merge 4.2-rc3 into staging-next 2015-07-20 13:21:28 -07:00
tcs3472.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
tsl2563.c iio: light: tsl2563: Remove flush_scheduled_work 2016-03-20 11:04:49 +00:00
tsl4531.c iio: tsl4531: fix error handling in tsl4531_check_id() 2015-08-31 16:29:52 +01:00
us5182d.c iio: light: us5182d: Refactor read_raw function 2015-12-22 18:07:08 +00:00
vcnl4000.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
veml6070.c iio: Add Vishay VEML6070 UV A light sensor driver 2016-04-19 19:58:16 +01:00