mfd: stw481x: Export I2C module alias information
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 30 Jul 2015 16:18:26 +0000 (18:18 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:09:09 +0000 (15:09 +0100)
commit0f63bdedcc749917e74093ecbd8dae7b77934f19
tree6581137b4ac331cb9b1bc04a80eb1731fa96df5e
parent68b6fd02e6a62d6bdb62e7e74e7c62a8ec54346e
mfd: stw481x: Export I2C module alias information

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 the driver needs to export the I2C table and this
be built into the module or udev won't have the necessary information
to auto load the correct module when the device is added.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stw481x.c