linux_dsm_epyc7002/drivers/iio/light
Javier Martinez Canillas 119c4fce68 iio: Export OF module alias information in missing drivers
The I2C core always reports the MODALIAS uevent as "i2c:<client name"
regardless if the driver was matched using the I2C id_table or the
of_match_table. So technically there's no need for a driver to export
the OF table since currently it's not used.

In fact, the I2C device ID table is mandatory for I2C drivers since
a i2c_device_id is passed to the driver's probe function even if the
I2C core used the OF table to match the driver.

And since the I2C core uses different tables, OF-only drivers needs to
have duplicated data that has to be kept in sync and also the dev node
compatible manufacturer prefix is stripped when reporting the MODALIAS.

To avoid the above, the I2C core behavior may be changed in the future
to not require an I2C device table for OF-only drivers and report the
OF module alias. So, it's better to also export the OF table to prevent
breaking module autoloading if that happens.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-08-02 16:36:00 +01:00
..
acpi-als.c iio:light:acpi-als: add missing prefixes 2015-07-19 10:50:05 +01:00
adjd_s311.c iio: delete non-required instances of include <linux/init.h> 2014-01-11 11:59:00 +00:00
al3320a.c iio: Add Dyna-Image AL3320A ambient light sensor driver 2014-09-10 20:25:56 +01:00
apds9300.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
bh1750.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
cm3232.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
cm3323.c iio:light:cm3323: add empty lines for code structure 2015-06-21 14:28:28 +01: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 iio: light: hid-sensor-als.c: Fix memory leak in probe() 2015-05-17 09:10:05 +01:00
hid-sensor-prox.c iio: light: hid-sensor-prox: Fit assignment in one line 2015-06-14 15:03:53 +01:00
isl29125.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
jsa1212.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
Kconfig iio: light: Add support for TXC PA12 als and proximity sensor 2015-07-20 18:41:21 +01:00
lm3533-als.c iio: light: lm3533-als: Remove space before ',' 2015-01-01 12:14:36 +00:00
ltr501.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
Makefile iio: light: Add support for TXC PA12 als and proximity sensor 2015-07-20 18:41:21 +01:00
opt3001.c iio: light: add support for TI's opt3001 light sensor 2015-07-20 18:41:21 +01:00
pa12203001.c iio: light: Add support for TXC PA12 als and proximity sensor 2015-07-20 18:41:21 +01:00
rpr0521.c iio: light: Add support for ROHM RPR0521 sensor 2015-06-21 15:14:54 +01:00
stk3310.c iio: Export I2C module alias information in missing drivers 2015-08-02 16:35:01 +01:00
tcs3414.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
tcs3472.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
tsl2563.c iio:tsl2563: Use tsl2563_ prefix for driver's functions 2015-04-18 20:35:31 +01:00
tsl4531.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
vcnl4000.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00