Message ID | 57bb7074-8283-23fe-6112-822bd40098dc@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index 408793d14fc5..0372e3358ec1 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -68,7 +68,5 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) - if (!pdata) { - pr_err("%s: No memory for mcbsp\n", __func__); + if (!pdata) return -ENOMEM; - } pdata->reg_step = 4; if (oh->class->rev < MCBSP_CONFIG_TYPE2) {