projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f6894
)
arm: mach-omap2: devices: fix omap3_l3_init() return value
author
Aaro Koskinen
<aaro.koskinen@nokia.com>
Fri, 18 Mar 2011 23:53:19 +0000
(16:53 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 18 Mar 2011 23:53:19 +0000
(16:53 -0700)
Fix the return value for the successful case.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/devices.c
b/arch/arm/mach-omap2/devices.c
index 0d2d6a9c303c5f03ef952f6721d2d88b34f77d8b..d478f53f90843356208a8b5ca829820538e6bb28 100644
(file)
--- a/
arch/arm/mach-omap2/devices.c
+++ b/
arch/arm/mach-omap2/devices.c
@@
-65,7
+65,7
@@
static int __init omap3_l3_init(void)
WARN(IS_ERR(od), "could not build omap_device for %s\n", oh_name);
- return
PTR_ERR(od)
;
+ return
IS_ERR(od) ? PTR_ERR(od) : 0
;
}
postcore_initcall(omap3_l3_init);