linux-stable/drivers/iio
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
..
accel iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
adc iio: adc: vf610: Determine sampling frequencies by using minimum sample time 2015-07-20 18:41:16 +01:00
amplifiers iio: amplifiers: ad8366: Use right order for type specification 2015-01-01 12:16:57 +00:00
common iio: st-sensors: add support for single full scale device 2015-07-23 20:43:10 +01:00
dac iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
frequency iio: frequency: adf4350: Delete blank line 2015-07-11 18:28:04 +01:00
gyro iio: st-sensors: add configuration for WhoAmI address 2015-07-23 20:43:04 +01:00
humidity iio: dht11: Use new function ktime_get_resolution_ns() 2015-07-20 18:41:20 +01:00
imu iio: fix drivers that consider 0 as a valid IRQ in client->irq 2015-07-23 20:23:11 +01:00
light iio: Export OF module alias information in missing drivers 2015-08-02 16:36:00 +01:00
magnetometer iio: st-magn: add support for lsm303agr magnetometer 2015-07-23 20:43:27 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
pressure iio: st-sensors: add configuration for WhoAmI address 2015-07-23 20:43:04 +01:00
proximity iio:prox:sx9500 trivial simplification of return path in init function. 2015-05-07 10:42:31 +01:00
temperature iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
trigger iio: trigger: Add a blank line after declarations 2014-12-26 12:15:36 +00:00
buffer_cb.c iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
iio_core_trigger.h
industrialio-buffer.c iio: allow userspace to flush the hwfifo with non-blocking reads 2015-06-21 14:51:13 +01:00
industrialio-core.c iio: Add missing modifier names to core 2015-06-21 10:45:39 +01:00
industrialio-event.c iio: core: add high pass filter attributes 2015-05-17 10:32:35 +01:00
industrialio-trigger.c iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
industrialio-triggered-buffer.c iio: Fix parameters in iio_triggered_buffer_setup 2015-07-05 15:19:50 +01:00
inkern.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
kfifo_buf.c Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle. 2015-06-10 20:48:34 -07:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00