diff options
Diffstat (limited to 'drivers/power/ab8500_btemp.c')
-rw-r--r-- | drivers/power/ab8500_btemp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c index 3041514f4d3f..e3b6395b20dd 100644 --- a/drivers/power/ab8500_btemp.c +++ b/drivers/power/ab8500_btemp.c | |||
@@ -1014,6 +1014,7 @@ static int __devinit ab8500_btemp_probe(struct platform_device *pdev) | |||
1014 | create_singlethread_workqueue("ab8500_btemp_wq"); | 1014 | create_singlethread_workqueue("ab8500_btemp_wq"); |
1015 | if (di->btemp_wq == NULL) { | 1015 | if (di->btemp_wq == NULL) { |
1016 | dev_err(di->dev, "failed to create work queue\n"); | 1016 | dev_err(di->dev, "failed to create work queue\n"); |
1017 | ret = -ENOMEM; | ||
1017 | goto free_device_info; | 1018 | goto free_device_info; |
1018 | } | 1019 | } |
1019 | 1020 | ||