projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'pm-cpuidle', 'pm-opp' and 'pm-avs'
[platform/kernel/linux-rpi.git]
/
drivers
/
cpuidle
/
cpuidle-arm.c
diff --git
a/drivers/cpuidle/cpuidle-arm.c
b/drivers/cpuidle/cpuidle-arm.c
index
4ba3d3f
..
f440d38
100644
(file)
--- a/
drivers/cpuidle/cpuidle-arm.c
+++ b/
drivers/cpuidle/cpuidle-arm.c
@@
-121,6
+121,7
@@
static int __init arm_idle_init(void)
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (!dev) {
pr_err("Failed to allocate cpuidle device\n");
+ ret = -ENOMEM;
goto out_fail;
}
dev->cpu = cpu;