Thread (4 messages) 4 messages, 4 authors, 2015-02-01

Re: [PATCH] Input: cap11xx - Remove wrong and unneeded cap11xx modalias

From: Daniel Mack <daniel@zonque.org>
Date: 2015-01-31 09:14:16

On 01/31/2015 05:38 AM, Axel Lin wrote:
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 remove the wrong and unneeded cap11xx modalias.

Signed-off-by: Axel Lin <redacted>
Acked-by: Daniel Mack <redacted>

Thanks!
Daniel

quoted hunk ↗ jump to hunk
---
 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 4f59f0b..f07461a 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 <linux@zonque.org>");
 MODULE_LICENSE("GPL v2");
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help