summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2015-09-14 23:26:07 +0200
committerSebastian Reichel <sre@kernel.org>2015-09-22 16:20:10 +0200
commit95b8aff2a6e5616639db06dd37efb36fba188590 (patch)
tree257d335162f8bbe248aa56da25d91a6c779f2510
parentpower_supply: max8998: Use devm_power_supply_register (diff)
downloadlinux-95b8aff2a6e5616639db06dd37efb36fba188590.tar.xz
linux-95b8aff2a6e5616639db06dd37efb36fba188590.zip
power: bq27x00_battery: Remove unneeded i2c MODULE_ALIAS
The MODULE_DEVICE_TABLE macro automatically adds all needed i2c MODULE_ALIASes so remove the extra MODULE_ALIAS. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/power/bq27x00_battery.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index 8287261fd978..d0b2f3b47b8f 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -1120,10 +1120,6 @@ module_exit(bq27x00_battery_exit);
MODULE_ALIAS("platform:bq27000-battery");
#endif
-#ifdef CONFIG_BATTERY_BQ27X00_I2C
-MODULE_ALIAS("i2c:bq27000-battery");
-#endif
-
MODULE_AUTHOR("Rodolfo Giometti <giometti@linux.it>");
MODULE_DESCRIPTION("BQ27x00 battery monitor driver");
MODULE_LICENSE("GPL");