mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
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>
This commit is contained in:
parent
5e5822f670
commit
95b8aff2a6
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user