projects
/
platform
/
kernel
/
linux-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-v3.7' of git://git.infradead.org/battery-2.6
[platform/kernel/linux-arm64.git]
/
drivers
/
power
/
ab8500_fg.c
diff --git
a/drivers/power/ab8500_fg.c
b/drivers/power/ab8500_fg.c
index
5c9e7c2
..
2db8cc2
100644
(file)
--- a/
drivers/power/ab8500_fg.c
+++ b/
drivers/power/ab8500_fg.c
@@
-2506,6
+2506,7
@@
static int __devinit ab8500_fg_probe(struct platform_device *pdev)
di->fg_wq = create_singlethread_workqueue("ab8500_fg_wq");
if (di->fg_wq == NULL) {
dev_err(di->dev, "failed to create work queue\n");
+ ret = -ENOMEM;
goto free_device_info;
}