Skip to contentSkip to conversation

em28xx: Convert printks to em28xx_err

PATCH In review Filipe Rosset 1 participant 1 message Sep 28, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 em28xx: Convert printks to em28xx_err

em28xx: Convert printks to em28xx_err

From: Filipe Rosset <[email protected]>

Convert printks to em28xx_err

Priority: normal

linux/drivers/media/video/em28xx/em28xx-audio.c +2 -2
diff -r 6b7617d4a0be linux/drivers/media/video/em28xx/em28xx-audio.c
@@ -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;
 }