[PATCH 1/2] em28xx: Convert printks to em28xx_err

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



em28xx: Convert printks to em28xx_err

From: Filipe Rosset <rosset.filipe@xxxxxxxxx>

Convert printks to em28xx_err

Priority: normal

Signed-off-by: Filipe Rosset <rosset.filipe@xxxxxxxxx>

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;
 }
 


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux