diff options
Diffstat (limited to 'drivers/power/88pm860x_battery.c')
-rw-r--r-- | drivers/power/88pm860x_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c index bd3c997f4fee..a99d7f2829a7 100644 --- a/drivers/power/88pm860x_battery.c +++ b/drivers/power/88pm860x_battery.c | |||
@@ -953,7 +953,7 @@ static int pm860x_battery_probe(struct platform_device *pdev) | |||
953 | else | 953 | else |
954 | info->resistor = 300; /* set default internal resistor */ | 954 | info->resistor = 300; /* set default internal resistor */ |
955 | 955 | ||
956 | ret = power_supply_register(&pdev->dev, &info->battery); | 956 | ret = power_supply_register(&pdev->dev, &info->battery, NULL); |
957 | if (ret) | 957 | if (ret) |
958 | return ret; | 958 | return ret; |
959 | info->battery.dev->parent = &pdev->dev; | 959 | info->battery.dev->parent = &pdev->dev; |