aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max77693_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/max77693_charger.c')
-rw-r--r--drivers/power/max77693_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max77693_charger.c b/drivers/power/max77693_charger.c
index ca52e7d15b95..86ea0231175c 100644
--- a/drivers/power/max77693_charger.c
+++ b/drivers/power/max77693_charger.c
@@ -714,7 +714,7 @@ static int max77693_charger_probe(struct platform_device *pdev)
714 goto err; 714 goto err;
715 } 715 }
716 716
717 ret = power_supply_register(&pdev->dev, &chg->charger); 717 ret = power_supply_register(&pdev->dev, &chg->charger, NULL);
718 if (ret) { 718 if (ret) {
719 dev_err(&pdev->dev, "failed: power supply register\n"); 719 dev_err(&pdev->dev, "failed: power supply register\n");
720 goto err; 720 goto err;