diff mbox

OMAP4: devices: fixup OMAP4 DMIC platform device error message

Message ID 1350401440-9620-1-git-send-email-s-guiriec@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastien Guiriec Oct. 16, 2012, 3:30 p.m. UTC
Correct DMIC hwmod lockup error message and replace printk() by
pr_err().

Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
---
 arch/arm/mach-omap2/devices.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tony Lindgren Oct. 16, 2012, 5:58 p.m. UTC | #1
* Sebastien Guiriec <s-guiriec@ti.com> [121016 08:32]:
> Correct DMIC hwmod lockup error message and replace printk() by
> pr_err().

Thanks applying into omap-for-v3.7-rc1/fixes-part2.

Regards,

Tony
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index c8c2117..cba60e0 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -341,7 +341,7 @@  static void __init omap_init_dmic(void)
 
 	oh = omap_hwmod_lookup("dmic");
 	if (!oh) {
-		printk(KERN_ERR "Could not look up mcpdm hw_mod\n");
+		pr_err("Could not look up dmic hw_mod\n");
 		return;
 	}