mfd/axp20x: change battery cell name to fuel gauge
authorTodd Brandt <todd.e.brandt@linux.intel.com>
Thu, 5 Feb 2015 00:24:36 +0000 (16:24 -0800)
committerSebastian Reichel <sre@kernel.org>
Sat, 7 Mar 2015 19:08:58 +0000 (20:08 +0100)
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>
drivers/mfd/axp20x.c

index b1b580a88654f9fd1c70c1e89a85b3ba2d5b6786..0acbe52b2411aa7165c77acb181b9dbea7863434 100644 (file)
@@ -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",