diff options
author | Todd Brandt <todd.e.brandt@linux.intel.com> | 2015-02-02 18:41:41 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-03-03 11:41:13 -0500 |
commit | d638787411a7d5df6dd2965b253efaa7b534e15e (patch) | |
tree | d5e93a5a477aad6ca3d6a54c4759aeccdffe1998 /drivers/mfd/axp20x.c | |
parent | 9dc502195a2d5ee810628b5697ddd854e38fa143 (diff) |
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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r-- | drivers/mfd/axp20x.c | 8 |
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[] = { | |||
87 | }, | 87 | }, |
88 | }; | 88 | }; |
89 | 89 | ||
90 | static struct resource axp288_battery_resources[] = { | 90 | static struct resource axp288_fuel_gauge_resources[] = { |
91 | { | 91 | { |
92 | .start = AXP288_IRQ_QWBTU, | 92 | .start = AXP288_IRQ_QWBTU, |
93 | .end = AXP288_IRQ_QWBTU, | 93 | .end = AXP288_IRQ_QWBTU, |
@@ -350,9 +350,9 @@ static struct mfd_cell axp288_cells[] = { | |||
350 | .resources = axp288_charger_resources, | 350 | .resources = axp288_charger_resources, |
351 | }, | 351 | }, |
352 | { | 352 | { |
353 | .name = "axp288_battery", | 353 | .name = "axp288_fuel_gauge", |
354 | .num_resources = ARRAY_SIZE(axp288_battery_resources), | 354 | .num_resources = ARRAY_SIZE(axp288_fuel_gauge_resources), |
355 | .resources = axp288_battery_resources, | 355 | .resources = axp288_fuel_gauge_resources, |
356 | }, | 356 | }, |
357 | { | 357 | { |
358 | .name = "axp288_pmic_acpi", | 358 | .name = "axp288_pmic_acpi", |