summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-12-18 11:54:30 +0900
committerSebastian Reichel <sre@kernel.org>2017-01-04 22:00:29 +0100
commitda50b3a584ffd273de76f8a72fcb151d6296a2dc (patch)
tree2ab1acb2cdb27a8ba88c97c25232fed80e2fcf72
parent3967d1f91cb80675712ca1222dc05c43432dc9c0 (diff)
power: supply: tps65217: Use generic name for power supply property
Replace 'ac_props' with 'charger_props'. Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/power/supply/tps65217_charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
index 5daf36192b8c..79afecafd945 100644
--- a/drivers/power/supply/tps65217_charger.c
+++ b/drivers/power/supply/tps65217_charger.c
@@ -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)