diff options
Diffstat (limited to 'drivers/power/bq2415x_charger.c')
-rw-r--r-- | drivers/power/bq2415x_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index 2333d7f1182b..9b509025d687 100644 --- a/drivers/power/bq2415x_charger.c +++ b/drivers/power/bq2415x_charger.c | |||
@@ -1051,7 +1051,7 @@ static int bq2415x_power_supply_init(struct bq2415x_device *bq) | |||
1051 | return -ENOMEM; | 1051 | return -ENOMEM; |
1052 | } | 1052 | } |
1053 | 1053 | ||
1054 | ret = power_supply_register(bq->dev, &bq->charger); | 1054 | ret = power_supply_register(bq->dev, &bq->charger, NULL); |
1055 | if (ret) { | 1055 | if (ret) { |
1056 | kfree(bq->model); | 1056 | kfree(bq->model); |
1057 | return ret; | 1057 | return ret; |