]> git.karo-electronics.de Git - linux-beck.git/commitdiff
misc: ad525x_dpot: Remove unnecessary MODULE_ALIAS()
authorJavier Martinez Canillas <javier@osg.samsung.com>
Sun, 30 Aug 2015 22:09:12 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:33:29 +0000 (19:33 -0700)
The driver has a I2C device id table that is used to create the module
aliases and also "ad_dpot" isn't a supported I2C id, so it's never used.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ad525x_dpot-i2c.c

index d11187d36ddd59b2d8ec6c8caf53dbc54d1fa928..4f832002d116d23891f1fdf628187be04d1f0d3d 100644 (file)
@@ -117,4 +117,3 @@ module_i2c_driver(ad_dpot_i2c_driver);
 MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
 MODULE_DESCRIPTION("digital potentiometer I2C bus driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("i2c:ad_dpot");