macintosh/therm_windtunnel: Export I2C module alias information
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 30 Jul 2015 16:18:30 +0000 (18:18 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Aug 2015 06:15:17 +0000 (16:15 +1000)
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: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/therm_windtunnel.c

Simple merge