linux/drivers/iio/accel
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
..
bma180.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
bmc150-accel.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
hid-sensor-accel-3d.c iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() 2015-05-17 09:09:05 +01:00
Kconfig iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
kxcjk-1013.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: accel: Add support for Sensortek STK8BA50 2015-05-23 12:57:11 +01:00
mma8452.c iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
mma9551_core.c iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551_core.h iio: accel: mma9553: fix alignment issues 2015-06-14 16:00:54 +01:00
mma9551.c iio: accel: mma9551: Check gpiod_to_irq return value 2015-03-09 13:27:49 +00:00
mma9553.c iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel_i2c.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel_spi.c iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
st_accel.h iio: st-accel: add support for lsm303agr accelerometer 2015-07-23 20:43:22 +01:00
stk8ba50.c iio: Export I2C module alias information in missing drivers 2015-08-02 16:35:01 +01:00
stk8312.c iio: Export I2C module alias information in missing drivers 2015-08-02 16:35:01 +01:00