diff options
Diffstat (limited to 'drivers/power/ab8500_charger.c')
-rw-r--r-- | drivers/power/ab8500_charger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index 0701dbc2b7e1..26ff759e2220 100644 --- a/drivers/power/ab8500_charger.c +++ b/drivers/power/ab8500_charger.c | |||
@@ -2614,6 +2614,7 @@ static int __devinit ab8500_charger_probe(struct platform_device *pdev) | |||
2614 | create_singlethread_workqueue("ab8500_charger_wq"); | 2614 | create_singlethread_workqueue("ab8500_charger_wq"); |
2615 | if (di->charger_wq == NULL) { | 2615 | if (di->charger_wq == NULL) { |
2616 | dev_err(di->dev, "failed to create work queue\n"); | 2616 | dev_err(di->dev, "failed to create work queue\n"); |
2617 | ret = -ENOMEM; | ||
2617 | goto free_device_info; | 2618 | goto free_device_info; |
2618 | } | 2619 | } |
2619 | 2620 | ||