summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-05-04 14:51:09 +0400
committerAnton Vorontsov <anton@enomsg.org>2013-05-10 22:57:14 +0400
commitdccab6092d3c25bf943d12fb658e63fd88bf8b4a (patch)
tree8ea5b39531cce562a466fbeef0258b0a3a3ad6e4 /drivers/power
parentc909fc8573af3cff9184551e79cf37784b5ddc24 (diff)
downloadlinux-dccab6092d3c25bf943d12fb658e63fd88bf8b4a.tar.xz
pm2301_charger: Fix module alias prefix
This driver is a i2c driver, use "i2c" rather than "platform" prefix for module alias. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/pm2301_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
index f123f3c219c3..e9c6ba0fee7b 100644
--- a/drivers/power/pm2301_charger.c
+++ b/drivers/power/pm2301_charger.c
@@ -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");