power: supply: tps65217: Use generic name for power supply property
authorMilo Kim <woogyom.kim@gmail.com>
Sun, 18 Dec 2016 02:54:30 +0000 (11:54 +0900)
committerSebastian Reichel <sre@kernel.org>
Wed, 4 Jan 2017 21:00:29 +0000 (22:00 +0100)
Replace 'ac_props' with 'charger_props'.

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

index 5daf36192b8c3a32ec9fd3505ccea1b0ab8fef89..79afecafd9459047cc45ee482a15b332f49ebc2d 100644 (file)
@@ -50,7 +50,7 @@ struct tps65217_charger {
        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,
 };
 
@@ -191,8 +191,8 @@ static const struct power_supply_desc tps65217_charger_desc = {
        .name                   = "tps65217-ac",
        .type                   = POWER_SUPPLY_TYPE_MAINS,
        .get_property           = tps65217_ac_get_property,
-       .properties             = tps65217_ac_props,
-       .num_properties         = ARRAY_SIZE(tps65217_ac_props),
+       .properties             = tps65217_charger_props,
+       .num_properties         = ARRAY_SIZE(tps65217_charger_props),
 };
 
 static int tps65217_charger_probe(struct platform_device *pdev)