summaryrefslogtreecommitdiff
path: root/drivers/power/supply/ds2782_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/ds2782_battery.c')
-rw-r--r--drivers/power/supply/ds2782_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/ds2782_battery.c b/drivers/power/supply/ds2782_battery.c
index 9b9619246902..85aa9c465aa4 100644
--- a/drivers/power/supply/ds2782_battery.c
+++ b/drivers/power/supply/ds2782_battery.c
@@ -458,7 +458,7 @@ static struct i2c_driver ds278x_battery_driver = {
.name = "ds2782-battery",
.pm = &ds278x_battery_pm_ops,
},
- .probe_new = ds278x_battery_probe,
+ .probe = ds278x_battery_probe,
.remove = ds278x_battery_remove,
.id_table = ds278x_id,
};