summaryrefslogtreecommitdiff
path: root/drivers/power/twl4030_madc_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/twl4030_madc_battery.c')
-rw-r--r--drivers/power/twl4030_madc_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c
index cf907609ec49..d065460c1cb3 100644
--- a/drivers/power/twl4030_madc_battery.c
+++ b/drivers/power/twl4030_madc_battery.c
@@ -217,7 +217,7 @@ static int twl4030_madc_battery_probe(struct platform_device *pdev)
twl4030_madc_bat->pdata = pdata;
platform_set_drvdata(pdev, twl4030_madc_bat);
- ret = power_supply_register(&pdev->dev, &twl4030_madc_bat->psy);
+ ret = power_supply_register(&pdev->dev, &twl4030_madc_bat->psy, NULL);
if (ret < 0)
kfree(twl4030_madc_bat);