]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
bq20z75: Rename to sbs-battery
authorRhyland Klein <rklein@nvidia.com>
Tue, 6 Dec 2011 01:50:45 +0000 (17:50 -0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 6 Jan 2012 01:22:12 +0000 (05:22 +0400)
This driver for the bq20z75 implemented the register spec defined
by the SBS standard. As this is not unique to this the TI part this
was originally written for, we can generalize this driver to
show its support for any SBS compliant battery.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/sbs-battery.c [moved from drivers/power/bq20z75.c with 100% similarity]
include/linux/power/sbs-battery.h [moved from include/linux/power/bq20z75.h with 100% similarity]

index 3bd2ed86fea2e71b5fadacf451a82dade4b68fe6..e24485f353844bb87220face16806ff0214f28fe 100644 (file)
@@ -116,12 +116,12 @@ config BATTERY_WM97XX
        help
          Say Y to enable support for battery measured by WM97xx aux port.
 
-config BATTERY_BQ20Z75
-        tristate "TI BQ20z75 gas gauge"
+config BATTERY_SBS
+        tristate "SBS Compliant gas gauge"
         depends on I2C
         help
-         Say Y to include support for TI BQ20z75 SBS-compliant
-         gas gauge and protection IC.
+         Say Y to include support for SBS battery driver for SBS-compliant
+         gas gauges.
 
 config BATTERY_BQ27x00
        tristate "BQ27x00 battery driver"
index 9a78b1dd570bf1ddada97fd14400522e5cdf2008..9c3bbf76a2bf460d5010e6209645af679e5130b6 100644 (file)
@@ -22,7 +22,7 @@ obj-$(CONFIG_BATTERY_OLPC)    += olpc_battery.o
 obj-$(CONFIG_BATTERY_TOSA)     += tosa_battery.o
 obj-$(CONFIG_BATTERY_COLLIE)   += collie_battery.o
 obj-$(CONFIG_BATTERY_WM97XX)   += wm97xx_battery.o
-obj-$(CONFIG_BATTERY_BQ20Z75)  += bq20z75.o
+obj-$(CONFIG_BATTERY_SBS)      += sbs-battery.o
 obj-$(CONFIG_BATTERY_BQ27x00)  += bq27x00_battery.o
 obj-$(CONFIG_BATTERY_DA9030)   += da9030_battery.o
 obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o