Commit d6387874 authored by Todd Brandt's avatar Todd Brandt Committed by Lee Jones

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: default avatarTodd Brandt <todd.e.brandt@linux.intel.com>
Acked-By: default avatarSebastian Reichel <sre@kernel.org>
Acked-by: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 9dc50219
...@@ -87,7 +87,7 @@ static struct resource axp20x_pek_resources[] = { ...@@ -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, .start = AXP288_IRQ_QWBTU,
.end = AXP288_IRQ_QWBTU, .end = AXP288_IRQ_QWBTU,
...@@ -350,9 +350,9 @@ static struct mfd_cell axp288_cells[] = { ...@@ -350,9 +350,9 @@ static struct mfd_cell axp288_cells[] = {
.resources = axp288_charger_resources, .resources = axp288_charger_resources,
}, },
{ {
.name = "axp288_battery", .name = "axp288_fuel_gauge",
.num_resources = ARRAY_SIZE(axp288_battery_resources), .num_resources = ARRAY_SIZE(axp288_fuel_gauge_resources),
.resources = axp288_battery_resources, .resources = axp288_fuel_gauge_resources,
}, },
{ {
.name = "axp288_pmic_acpi", .name = "axp288_pmic_acpi",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment