Commit 5b903a15 authored by Milo Kim's avatar Milo Kim Committed by Sebastian Reichel

power: supply: tps65217: Use generic charger name

"tps65217-charger" is more appropriate name because the driver supports
not only AC but also USB charger.
Signed-off-by: default avatarMilo Kim <woogyom.kim@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 757620c4
...@@ -188,7 +188,7 @@ static int tps65217_charger_poll_task(void *data) ...@@ -188,7 +188,7 @@ static int tps65217_charger_poll_task(void *data)
} }
static const struct power_supply_desc tps65217_charger_desc = { static const struct power_supply_desc tps65217_charger_desc = {
.name = "tps65217-ac", .name = "tps65217-charger",
.type = POWER_SUPPLY_TYPE_MAINS, .type = POWER_SUPPLY_TYPE_MAINS,
.get_property = tps65217_charger_get_property, .get_property = tps65217_charger_get_property,
.properties = tps65217_charger_props, .properties = tps65217_charger_props,
......
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