提交 b571a77a 编写于 作者: T Todd Brandt 提交者: Sebastian Reichel

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: NTodd Brandt <todd.e.brandt@linux.intel.com>
Acked-By: NSebastian Reichel <sre@kernel.org>
Acked-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: NSebastian Reichel <sre@kernel.org>
上级 0e1392d9
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册