mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
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 <axel.lin@ingics.com> Acked-by: Daniel Mack <linux@zonque.org> Reviewed-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
43c0e22340
commit
e297d7bbf6
@ -370,7 +370,6 @@ static struct i2c_driver cap11xx_i2c_driver = {
|
|||||||
|
|
||||||
module_i2c_driver(cap11xx_i2c_driver);
|
module_i2c_driver(cap11xx_i2c_driver);
|
||||||
|
|
||||||
MODULE_ALIAS("platform:cap11xx");
|
|
||||||
MODULE_DESCRIPTION("Microchip CAP11XX driver");
|
MODULE_DESCRIPTION("Microchip CAP11XX driver");
|
||||||
MODULE_AUTHOR("Daniel Mack <linux@zonque.org>");
|
MODULE_AUTHOR("Daniel Mack <linux@zonque.org>");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
Loading…
Reference in New Issue
Block a user