summaryrefslogtreecommitdiffstats
path: root/drivers/power/rt5033_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/rt5033_battery.c')
-rw-r--r--drivers/power/rt5033_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/rt5033_battery.c b/drivers/power/rt5033_battery.c
index 995247af14fc..8cf000baaf36 100644
--- a/drivers/power/rt5033_battery.c
+++ b/drivers/power/rt5033_battery.c
@@ -138,7 +138,7 @@ static int rt5033_battery_probe(struct i2c_client *client,
battery->psy.properties = rt5033_battery_props;
battery->psy.num_properties = ARRAY_SIZE(rt5033_battery_props);
- ret = power_supply_register(&client->dev, &battery->psy);
+ ret = power_supply_register(&client->dev, &battery->psy, NULL);
if (ret) {
dev_err(&client->dev, "Failed to register power supply\n");
return ret;