summaryrefslogtreecommitdiffstats
path: root/drivers/power/ltc2941-battery-gauge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/ltc2941-battery-gauge.c')
-rw-r--r--drivers/power/ltc2941-battery-gauge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ltc2941-battery-gauge.c b/drivers/power/ltc2941-battery-gauge.c
index 50c5d89dcef3..9bc545393ef8 100644
--- a/drivers/power/ltc2941-battery-gauge.c
+++ b/drivers/power/ltc2941-battery-gauge.c
@@ -473,7 +473,7 @@ static int ltc294x_i2c_probe(struct i2c_client *client,
goto fail_comm;
}
- ret = power_supply_register(&client->dev, &info->supply);
+ ret = power_supply_register(&client->dev, &info->supply, NULL);
if (ret) {
dev_err(&client->dev, "failed to register ltc2941\n");
goto fail_register;