summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorTodd Brandt <todd.e.brandt@linux.intel.com>2015-02-05 01:24:36 +0100
committerSebastian Reichel <sre@kernel.org>2015-03-07 20:08:58 +0100
commitb571a77a0dec969728e102971dd126cf374c2cef (patch)
tree4494ef4f3b87707e8d6789c77f10cb19540117f4 /drivers/mfd/axp20x.c
parentbq2415x_charger: Add support for bq24157s (diff)
downloadlinux-b571a77a0dec969728e102971dd126cf374c2cef.tar.xz
linux-b571a77a0dec969728e102971dd126cf374c2cef.zip
mfd/axp20x: change battery cell name to fuel gauge
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com> Acked-By: Sebastian Reichel <sre@kernel.org> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/mfd/axp20x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index b1b580a88654..0acbe52b2411 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -87,7 +87,7 @@ static struct resource axp20x_pek_resources[] = {
},
};
-static struct resource axp288_battery_resources[] = {
+static struct resource axp288_fuel_gauge_resources[] = {
{
.start = AXP288_IRQ_QWBTU,
.end = AXP288_IRQ_QWBTU,
@@ -350,9 +350,9 @@ static struct mfd_cell axp288_cells[] = {
.resources = axp288_charger_resources,
},
{
- .name = "axp288_battery",
- .num_resources = ARRAY_SIZE(axp288_battery_resources),
- .resources = axp288_battery_resources,
+ .name = "axp288_fuel_gauge",
+ .num_resources = ARRAY_SIZE(axp288_fuel_gauge_resources),
+ .resources = axp288_fuel_gauge_resources,
},
{
.name = "axp288_pmic_acpi",