All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] em28xx: Convert printks to em28xx_err
@ 2009-09-28 15:03 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2009-09-28 15:03 UTC (permalink / raw)
  To: linux-media; +Cc: Douglas Schilling Landgraf, Mauro Carvalho Chehab

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Convert_printks_to_em28xx_err.diff --]
[-- Type: text/plain, Size: 883 bytes --]

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-28 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 15:03 [PATCH 1/2] em28xx: Convert printks to em28xx_err Filipe Rosset

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.