[PATCH 0/4] misc: Add OF device table to I2C drivers that are missing it

From: Javier Martinez Canillas
Date: Tue Mar 14 2017 - 11:20:28 EST


Hello,

This series add OF device ID tables to misc I2C drivers whose devices are
either used in Device Tree source files or are listed in binding docs as
a compatible string.

That's done because the plan is to change the I2C core to report proper OF
modaliases instead of always reporting a MODALIAS=i2c:<foo> regardless if
a device was registered via DT or using the legacy platform data mechanism.

So these patches will make sure that misc I2C drivers modules will continue
to be autoloaded once the I2C core is changed to report proper OF modalias.

Best regards,
Javier


Javier Martinez Canillas (4):
misc: tsl2550: Add OF device ID table
misc: ds1682: Add OF device ID table
eeprom: idt_89hpesx: Add OF device ID table
eeprom: at24: Add OF device ID table

drivers/misc/ds1682.c | 7 ++
drivers/misc/eeprom/at24.c | 189 +++++++++++++++++++++++++++++++++++++-
drivers/misc/eeprom/idt_89hpesx.c | 57 ++++++++++++
drivers/misc/tsl2550.c | 7 ++
4 files changed, 259 insertions(+), 1 deletion(-)

--
2.9.3