From: Axel Lin Date: Sun, 1 Feb 2015 04:18:09 +0000 (-0800) Subject: Input: drv260x - remove wrong and unneeded drv260x-haptics modalias X-Git-Tag: firefly_0821_release~176^2~541^2~101^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aa9d2a292a41a913c63f155494894b6aa132c51e;p=firefly-linux-kernel-4.4.55.git Input: drv260x - remove wrong and unneeded drv260x-haptics modalias 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c index a364e109ca7c..599578042ea0 100644 --- a/drivers/input/misc/drv260x.c +++ b/drivers/input/misc/drv260x.c @@ -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 ");