[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fd733c6ffabb4312cea1b17d3d6f5f65a82b815c.1423082056.git.todd.e.brandt@linux.intel.com>
Date: Wed, 4 Feb 2015 16:24:36 -0800
From: Todd Brandt <todd.e.brandt@...ux.intel.com>
To: sre@...nel.org, dbaryshkov@...il.com
Cc: dwmw2@...radead.org, linux-pm@...r.kernel.org,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
todd.e.brandt@...ux.intel.com, todd.e.brandt@...el.com,
jacob.jun.pan@...ux.intel.com, sameo@...ux.intel.com,
lee.jones@...aro.org, david.woodhouse@...el.com, jic23@...nel.org
Subject: [PATCH v4 1/3] 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@...ux.intel.com>
Acked-By: Sebastian Reichel <sre@...nel.org>
Acked-by: Jacob Pan <jacob.jun.pan@...ux.intel.com>
---
drivers/mfd/axp20x.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
v1: 01/07/14
v2: 01/22/14
- replaced the const in axp20x_acpi_match declaration
v4: same as v2-3
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index b1b580a..0acbe52 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",
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists