diff options
Diffstat (limited to 'drivers/power/max8998_charger.c')
-rw-r--r-- | drivers/power/max8998_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index 08694c7a9f38..9ee72314b3d0 100644 --- a/drivers/power/max8998_charger.c +++ b/drivers/power/max8998_charger.c | |||
@@ -167,7 +167,7 @@ static int max8998_battery_probe(struct platform_device *pdev) | |||
167 | max8998->battery.properties = max8998_battery_props; | 167 | max8998->battery.properties = max8998_battery_props; |
168 | max8998->battery.num_properties = ARRAY_SIZE(max8998_battery_props); | 168 | max8998->battery.num_properties = ARRAY_SIZE(max8998_battery_props); |
169 | 169 | ||
170 | ret = power_supply_register(max8998->dev, &max8998->battery); | 170 | ret = power_supply_register(max8998->dev, &max8998->battery, NULL); |
171 | if (ret) { | 171 | if (ret) { |
172 | dev_err(max8998->dev, "failed: power supply register\n"); | 172 | dev_err(max8998->dev, "failed: power supply register\n"); |
173 | goto err; | 173 | goto err; |