Commit 36133869 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Tony Lindgren

arm: mach-omap2: devices: fix omap3_l3_init() return value

Fix the return value for the successful case.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 05f68940
...@@ -65,7 +65,7 @@ static int __init omap3_l3_init(void) ...@@ -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); 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); postcore_initcall(omap3_l3_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment