Commit da50b3a5 authored by Milo Kim's avatar Milo Kim Committed by Sebastian Reichel

power: supply: tps65217: Use generic name for power supply property

Replace 'ac_props' with 'charger_props'.
Signed-off-by: default avatarMilo Kim <woogyom.kim@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 3967d1f9
...@@ -50,7 +50,7 @@ struct tps65217_charger { ...@@ -50,7 +50,7 @@ struct tps65217_charger {
struct task_struct *poll_task; struct task_struct *poll_task;
}; };
static enum power_supply_property tps65217_ac_props[] = { static enum power_supply_property tps65217_charger_props[] = {
POWER_SUPPLY_PROP_ONLINE, POWER_SUPPLY_PROP_ONLINE,
}; };
...@@ -191,8 +191,8 @@ static const struct power_supply_desc tps65217_charger_desc = { ...@@ -191,8 +191,8 @@ static const struct power_supply_desc tps65217_charger_desc = {
.name = "tps65217-ac", .name = "tps65217-ac",
.type = POWER_SUPPLY_TYPE_MAINS, .type = POWER_SUPPLY_TYPE_MAINS,
.get_property = tps65217_ac_get_property, .get_property = tps65217_ac_get_property,
.properties = tps65217_ac_props, .properties = tps65217_charger_props,
.num_properties = ARRAY_SIZE(tps65217_ac_props), .num_properties = ARRAY_SIZE(tps65217_charger_props),
}; };
static int tps65217_charger_probe(struct platform_device *pdev) static int tps65217_charger_probe(struct platform_device *pdev)
......
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