OSDN Git Service

Input: drv260x - remove wrong and unneeded drv260x-haptics modalias
authorAxel Lin <axel.lin@ingics.com>
Sun, 1 Feb 2015 04:18:09 +0000 (20:18 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 1 Feb 2015 19:21:24 +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 drv260x-haptics modalias.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/drv260x.c

index a364e10..5995780 100644 (file)
@@ -733,7 +733,6 @@ static struct i2c_driver drv260x_driver = {
 };
 module_i2c_driver(drv260x_driver);
 
-MODULE_ALIAS("platform:drv260x-haptics");
 MODULE_DESCRIPTION("TI DRV260x haptics driver");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Dan Murphy <dmurphy@ti.com>");