diff options
Diffstat (limited to 'drivers/power/ltc2941-battery-gauge.c')
-rw-r--r-- | drivers/power/ltc2941-battery-gauge.c | 2 |
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, | |||
473 | goto fail_comm; | 473 | goto fail_comm; |
474 | } | 474 | } |
475 | 475 | ||
476 | ret = power_supply_register(&client->dev, &info->supply); | 476 | ret = power_supply_register(&client->dev, &info->supply, NULL); |
477 | if (ret) { | 477 | if (ret) { |
478 | dev_err(&client->dev, "failed to register ltc2941\n"); | 478 | dev_err(&client->dev, "failed to register ltc2941\n"); |
479 | goto fail_register; | 479 | goto fail_register; |