summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/ds2781_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/ds2781_battery.c')
-rw-r--r--drivers/power/supply/ds2781_battery.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/power/supply/ds2781_battery.c b/drivers/power/supply/ds2781_battery.c
index efe83ef8670c..d1b5a19aae7c 100644
--- a/drivers/power/supply/ds2781_battery.c
+++ b/drivers/power/supply/ds2781_battery.c
@@ -54,11 +54,6 @@ to_ds2781_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 ds2781_battery_io(struct ds2781_device_info *dev_info,
char *buf, int addr, size_t count, int io)
{
OpenPOWER on IntegriCloud