From: Axel Lin Date: Sun, 1 Feb 2015 04:14:16 +0000 (-0800) Subject: Input: cap11xx - remove wrong and unneeded cap11xx modalias X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e297d7bbf6906389635a803b4887a735d0a117a9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: cap11xx - remove wrong and unneeded cap11xx 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 cap11xx modalias. Signed-off-by: Axel Lin Acked-by: Daniel Mack Reviewed-by: Matt Ranostay Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index 4f59f0bab28f..f07461a64d85 100644 --- a/drivers/input/keyboard/cap11xx.c +++ b/drivers/input/keyboard/cap11xx.c @@ -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 "); MODULE_LICENSE("GPL v2");