summaryrefslogtreecommitdiff
path: root/drivers/power/supply/ds2780_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/ds2780_battery.c')
-rw-r--r--drivers/power/supply/ds2780_battery.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/power/supply/ds2780_battery.c b/drivers/power/supply/ds2780_battery.c
index e5d81b493c45..370e9109342b 100644
--- a/drivers/power/supply/ds2780_battery.c
+++ b/drivers/power/supply/ds2780_battery.c
@@ -56,11 +56,6 @@ to_ds2780_device_info(struct power_supply *psy)
return power_supply_get_drvdata(psy);
}
-static inline struct power_supply *to_power_supply(struct device *dev)
-{
- return dev_get_drvdata(dev);
-}
-
static inline int ds2780_battery_io(struct ds2780_device_info *dev_info,
char *buf, int addr, size_t count, int io)
{