aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/charger-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/charger-manager.c')
-rw-r--r--drivers/power/charger-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c
index 14b0d85318eb..df27600880b9 100644
--- a/drivers/power/charger-manager.c
+++ b/drivers/power/charger-manager.c
@@ -1740,7 +1740,7 @@ static int charger_manager_probe(struct platform_device *pdev)
1740 1740
1741 INIT_DELAYED_WORK(&cm->fullbatt_vchk_work, fullbatt_vchk); 1741 INIT_DELAYED_WORK(&cm->fullbatt_vchk_work, fullbatt_vchk);
1742 1742
1743 ret = power_supply_register(NULL, &cm->charger_psy); 1743 ret = power_supply_register(NULL, &cm->charger_psy, NULL);
1744 if (ret) { 1744 if (ret) {
1745 dev_err(&pdev->dev, "Cannot register charger-manager with name \"%s\"\n", 1745 dev_err(&pdev->dev, "Cannot register charger-manager with name \"%s\"\n",
1746 cm->charger_psy.name); 1746 cm->charger_psy.name);