summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/tps65217_charger.c
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-12-18 11:54:31 +0900
committerSebastian Reichel <sre@kernel.org>2017-01-04 22:00:33 +0100
commit757620c4e4fe6df40168228654de49cf94e21f7a (patch)
tree6a8a2c673d71ce1f1e87d73de4e5f66ed7348d6f /drivers/power/supply/tps65217_charger.c
parentda50b3a584ffd273de76f8a72fcb151d6296a2dc (diff)
downloadblackbird-op-linux-757620c4e4fe6df40168228654de49cf94e21f7a.tar.gz
blackbird-op-linux-757620c4e4fe6df40168228654de49cf94e21f7a.zip
power: supply: tps65217: Use generic name for get_property()
Rename it as tps65217_charger_get_property(). Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/supply/tps65217_charger.c')
-rw-r--r--drivers/power/supply/tps65217_charger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
index 79afecafd945..63c555601674 100644
--- a/drivers/power/supply/tps65217_charger.c
+++ b/drivers/power/supply/tps65217_charger.c
@@ -115,9 +115,9 @@ static int tps65217_enable_charging(struct tps65217_charger *charger)
return 0;
}
-static int tps65217_ac_get_property(struct power_supply *psy,
- enum power_supply_property psp,
- union power_supply_propval *val)
+static int tps65217_charger_get_property(struct power_supply *psy,
+ enum power_supply_property psp,
+ union power_supply_propval *val)
{
struct tps65217_charger *charger = power_supply_get_drvdata(psy);
@@ -190,7 +190,7 @@ static int tps65217_charger_poll_task(void *data)
static const struct power_supply_desc tps65217_charger_desc = {
.name = "tps65217-ac",
.type = POWER_SUPPLY_TYPE_MAINS,
- .get_property = tps65217_ac_get_property,
+ .get_property = tps65217_charger_get_property,
.properties = tps65217_charger_props,
.num_properties = ARRAY_SIZE(tps65217_charger_props),
};
OpenPOWER on IntegriCloud