]> git.karo-electronics.de Git - linux-beck.git/commit
power: bq27xxx_battery: Reorganize I2C into a module
authorAndrew F. Davis <afd@ti.com>
Mon, 23 Nov 2015 16:53:51 +0000 (10:53 -0600)
committerSebastian Reichel <sre@kernel.org>
Sat, 5 Dec 2015 01:06:51 +0000 (02:06 +0100)
commit703df6c097956d17a818e63961c82e8e9eef9fef
tree0feab6ac8900207ca50ff7d139943cceaef98e44
parent1f94b2563a02327aa8a1385c8a92b0c3f96d01b4
power: bq27xxx_battery: Reorganize I2C into a module

Separate out I2C functionality into a module. This fixes several small
issues and simplifies the driver initialization.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/bq27xxx_battery.c
drivers/power/bq27xxx_battery_i2c.c [new file with mode: 0644]
include/linux/power/bq27xxx_battery.h