summaryrefslogtreecommitdiff
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)
goto err;
}
- ret = power_supply_register(&pdev->dev, &chg->charger);
+ ret = power_supply_register(&pdev->dev, &chg->charger, NULL);
if (ret) {
dev_err(&pdev->dev, "failed: power supply register\n");
goto err;