Message ID | a673b257-4750-2135-2c4e-bc0e5937f4b0@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 07dd692c4737..f6b5ccfe4653 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -693,7 +693,5 @@ static int __init omap_timer_init(struct omap_hwmod *oh, void *unused) - if (!pdata) { - pr_err("%s: No memory for [%s]\n", __func__, oh->name); + if (!pdata) return -ENOMEM; - } /* * Extract the IDs from name field in hwmod database