mfd/axp20x: change battery cell name to fuel gauge
PATCH 1/2 mfd/axp20x: change battery cell name to fuel gauge
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 <[email protected]>
----
drivers/mfd/axp20x.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/mfd/axp20x.c +5 -5
@@ -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 ,
@@ -236,7 +236,7 @@ static const struct i2c_device_id axp20x_i2c_id[] = { };MODULE_DEVICE_TABLE (i2c, axp20x_i2c_id); -static const struct acpi_device_id axp20x_acpi_match[] = { +static struct acpi_device_id axp20x_acpi_match[] = { { .id ="INT33F4" , .driver_data =AXP288_ID ,
@@ -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",