]> 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)
commit752f3f1ed60a7372b0f10bd2ab961a527f73179d
tree0feab6ac8900207ca50ff7d139943cceaef98e44
parenta73539bf5ad6a3735ea4be5fd48b2e2c3bac21bf
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