Input: cap11xx - remove wrong and unneeded cap11xx modalias
authorAxel Lin <axel.lin@ingics.com>
Sun, 1 Feb 2015 04:14:16 +0000 (20:14 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 1 Feb 2015 19:21:23 +0000 (11:21 -0800)
This is a I2C driver, so it's wrong to use platform prefix for the
modalias.  We have all needed i2c aliases coming form MODULE_DEVICE_TABLE,
so let's remove the wrong and unneeded cap11xx modalias.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Daniel Mack <linux@zonque.org>
Reviewed-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/cap11xx.c

index 4f59f0bab28f922103cbdad85febee7b8a997992..f07461a64d85cba241093ab7b85b5b9504a847fa 100644 (file)
@@ -370,7 +370,6 @@ static struct i2c_driver cap11xx_i2c_driver = {
 
 module_i2c_driver(cap11xx_i2c_driver);
 
-MODULE_ALIAS("platform:cap11xx");
 MODULE_DESCRIPTION("Microchip CAP11XX driver");
 MODULE_AUTHOR("Daniel Mack <linux@zonque.org>");
 MODULE_LICENSE("GPL v2");