From e297d7bbf6906389635a803b4887a735d0a117a9 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 31 Jan 2015 20:14:16 -0800 Subject: [PATCH] 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 --- drivers/input/keyboard/cap11xx.c | 1 - 1 file changed, 1 deletion(-) 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");