diff mbox

[1/2] em28xx: Convert printks to em28xx_err

Message ID 4AC0D046.5000701@gmail.com (mailing list archive)
State Accepted
Delegated to: Douglas Landgraf
Headers show

Commit Message

Filipe Rosset Sept. 28, 2009, 3:03 p.m. UTC
em28xx: Convert printks to em28xx_err

From: Filipe Rosset <rosset.filipe@gmail.com>

Convert printks to em28xx_err

Priority: normal

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
diff mbox

Patch

diff -r 6b7617d4a0be linux/drivers/media/video/em28xx/em28xx-audio.c
--- a/linux/drivers/media/video/em28xx/em28xx-audio.c	Sat Sep 26 13:45:03 2009 -0300
+++ b/linux/drivers/media/video/em28xx/em28xx-audio.c	Mon Sep 28 10:49:25 2009 -0300
@@ -335,7 +335,7 @@ 
 	dprintk("opening device and trying to acquire exclusive lock\n");
 
 	if (!dev) {
-		printk(KERN_ERR "BUG: em28xx can't find device struct."
+		em28xx_err("BUG: em28xx can't find device struct."
 				" Can't proceed with open\n");
 		return -ENODEV;
 	}
@@ -367,7 +367,7 @@ 
 
 	return 0;
 err:
-	printk(KERN_ERR "Error while configuring em28xx mixer\n");
+	em28xx_err("Error while configuring em28xx mixer\n");
 	return ret;
 }