diff options
Diffstat (limited to 'drivers/power/z2_battery.c')
-rw-r--r-- | drivers/power/z2_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c index 814d2e31f0c9..df22364212dd 100644 --- a/drivers/power/z2_battery.c +++ b/drivers/power/z2_battery.c | |||
@@ -230,7 +230,7 @@ static int z2_batt_probe(struct i2c_client *client, | |||
230 | 230 | ||
231 | INIT_WORK(&charger->bat_work, z2_batt_work); | 231 | INIT_WORK(&charger->bat_work, z2_batt_work); |
232 | 232 | ||
233 | ret = power_supply_register(&client->dev, &charger->batt_ps); | 233 | ret = power_supply_register(&client->dev, &charger->batt_ps, NULL); |
234 | if (ret) | 234 | if (ret) |
235 | goto err4; | 235 | goto err4; |
236 | 236 | ||