power: supply: tps65217: Use generic charger name
authorMilo Kim <woogyom.kim@gmail.com>
Sun, 18 Dec 2016 02:54:32 +0000 (11:54 +0900)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 21:00:37 +0000 (22:00 +0100)
"tps65217-charger" is more appropriate name because the driver supports
not only AC but also USB charger.

Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/tps65217_charger.c

index 63c555601674e7d28e6bf64559c7daa2320e2a23..29b61e81b38541f749982de0c7d8d1d6eddeb353 100644 (file)
@@ -188,7 +188,7 @@ static int tps65217_charger_poll_task(void *data)
 }
 
 static const struct power_supply_desc tps65217_charger_desc = {
-       .name                   = "tps65217-ac",
+       .name                   = "tps65217-charger",
        .type                   = POWER_SUPPLY_TYPE_MAINS,
        .get_property           = tps65217_charger_get_property,
        .properties             = tps65217_charger_props,