Skip to contentSkip to conversation

power_supply: pm2301_charger: Fix module alias prefix

PATCH Applied Axel Lin 2 participants 2 messages May 4, 2013 – May 10, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 power_supply: pm2301_charger: Fix module alias prefix

This driver is a i2c driver, use "i2c" rather than "platform" prefix for module alias.

---
 drivers/power/pm2301_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/pm2301_charger.c +1 -1
index a441751..fef56e2 100644
@@ -1269,5 +1269,5 @@ module_exit(pm2xxx_charger_exit);
 
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Rajkumar kasirajan, Olivier Launay");
-MODULE_ALIAS("platform:pm2xxx-charger");
+MODULE_ALIAS("i2c:pm2xxx-charger");
 MODULE_DESCRIPTION("PM2xxx charger management driver");
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 5 lines · Axel Lin

This driver is a i2c driver, use "i2c" rather than "platform" prefix for module alias.

---

Applied, thanks Axel!

Anton

Quoted 16 lines
 drivers/power/pm2301_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/pm2301_charger.c +1 -1
index a441751..fef56e2 100644
@@ -1269,5 +1269,5 @@ module_exit(pm2xxx_charger_exit);
 
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Rajkumar kasirajan, Olivier Launay");
-MODULE_ALIAS("platform:pm2xxx-charger");
+MODULE_ALIAS("i2c:pm2xxx-charger");
 MODULE_DESCRIPTION("PM2xxx charger management driver");
Signature · 1 line
1.8.1.2