]> git.baikalelectronics.ru Git - kernel.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)
commit44f0cec95c00179602b3a505c0792ffcca5acc8c
tree0feab6ac8900207ca50ff7d139943cceaef98e44
parentbd04d81ee6f24b7e6b602babb1ffee13a978b2a8
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