OSDN Git Service

Input: export I2C module alias information in missing drivers
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 30 Jul 2015 17:38:52 +0000 (10:38 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Feb 2016 10:50:00 +0000 (18:50 +0800)
commit1a94bb7e973d0952840ac230dcce9a91d05c6416
tree68637027f97f095831edf364dda66b8372ce9996
parent873f9dac107344b9797ef9840202d40d746b3946
Input: export I2C 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 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/gp2ap002a00f.c
drivers/input/touchscreen/goodix.c