Skip to content

Commit

Permalink
pm2301_charger: Fix module alias prefix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Anton Vorontsov committed May 10, 2013
1 parent c909fc8 commit dccab60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/pm2301_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

0 comments on commit dccab60

Please sign in to comment.