From: Rhyland Klein Date: Tue, 6 Dec 2011 01:50:45 +0000 (-0800) Subject: bq20z75: Rename to sbs-battery X-Git-Tag: upstream/snapshot3+hdmi~8366^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c78f2b64963654419a8cd3b7e264251860e9f9eb;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git bq20z75: Rename to sbs-battery 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 Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 3bd2ed8..e24485f 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -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" diff --git a/drivers/power/Makefile b/drivers/power/Makefile index 9a78b1d..9c3bbf7 100644 --- a/drivers/power/Makefile +++ b/drivers/power/Makefile @@ -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 diff --git a/drivers/power/bq20z75.c b/drivers/power/sbs-battery.c similarity index 100% rename from drivers/power/bq20z75.c rename to drivers/power/sbs-battery.c diff --git a/include/linux/power/bq20z75.h b/include/linux/power/sbs-battery.h similarity index 100% rename from include/linux/power/bq20z75.h rename to include/linux/power/sbs-battery.h