Skip to content

Commit

Permalink
power: Remove unnecessary MODULE_ALIAS() for I2C drivers
Browse files Browse the repository at this point in the history
These drivers already have an I2C device id table that is used to create
module aliases and the used MODULE_ALIAS() was either already in the I2C
table so it was redundant or wasn't a valid I2C id so it was never used.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
  • Loading branch information
Javier Martinez Canillas authored and Sebastian Reichel committed Sep 22, 2015
1 parent 9615a29 commit da42bbd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/power/bq24190_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1543,5 +1543,4 @@ module_i2c_driver(bq24190_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Mark A. Greer <mgreer@animalcreek.com>");
MODULE_ALIAS("i2c:bq24190-charger");
MODULE_DESCRIPTION("TI BQ24190 Charger Driver");
1 change: 0 additions & 1 deletion drivers/power/pm2301_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1264,5 +1264,4 @@ module_exit(pm2xxx_charger_exit);

MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Rajkumar kasirajan, Olivier Launay");
MODULE_ALIAS("i2c:pm2xxx-charger");
MODULE_DESCRIPTION("PM2xxx charger management driver");
1 change: 0 additions & 1 deletion drivers/power/rt9455_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1760,5 +1760,4 @@ module_i2c_driver(rt9455_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Anda-Maria Nicolae <anda-maria.nicolae@intel.com>");
MODULE_ALIAS("i2c:rt9455-charger");
MODULE_DESCRIPTION("Richtek RT9455 Charger Driver");
1 change: 0 additions & 1 deletion drivers/power/smb347-charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,4 +1332,3 @@ MODULE_AUTHOR("Bruce E. Robertson <bruce.e.robertson@intel.com>");
MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
MODULE_DESCRIPTION("SMB347 battery charger driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("i2c:smb347");

0 comments on commit da42bbd

Please sign in to comment.