]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
power: bq27x00_battery: Remove unneeded i2c MODULE_ALIAS
authorAndrew F. Davis <afd@ti.com>
Mon, 14 Sep 2015 21:26:07 +0000 (16:26 -0500)
committerSebastian Reichel <sre@kernel.org>
Tue, 22 Sep 2015 14:20:10 +0000 (16:20 +0200)
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>
drivers/power/bq27x00_battery.c

index 8287261fd978895afca216d993537c7f55ea1dee..d0b2f3b47b8f25ea6efdddb9eae0d545cb26560a 100644 (file)
@@ -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");