All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/8] staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.
@ 2012-07-12 21:50 Marek Belisko
  2012-07-12 21:50 ` [PATCH 2/8] staging: ft1000-usb: Remove commented lines from ft1000_device Marek Belisko
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Marek Belisko @ 2012-07-12 21:50 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Marek Belisko

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
index 7bd7fb2..9d36c5f 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
@@ -70,7 +70,7 @@ static int ft1000_probe(struct usb_interface *interface,
 	ft1000dev = kzalloc(sizeof(struct ft1000_device), GFP_KERNEL);
 
 	if (!ft1000dev) {
-		printk(KERN_ERR "out of memory allocating device structure\n");
+		pr_err("out of memory allocating device structure\n");
 		return -ENOMEM;
 	}
 
@@ -138,7 +138,7 @@ static int ft1000_probe(struct usb_interface *interface,
 
 	ret = request_firmware(&dsp_fw, "ft3000.img", &dev->dev);
 	if (ret < 0) {
-		printk(KERN_ERR "Error request_firmware().\n");
+		pr_err("Error request_firmware().\n");
 		goto err_fw;
 	}
 
@@ -166,7 +166,7 @@ static int ft1000_probe(struct usb_interface *interface,
 	DEBUG("In probe: pft1000info=%p\n", pft1000info);
 	ret = dsp_reload(ft1000dev);
 	if (ret) {
-		printk(KERN_ERR "Problem with DSP image loading\n");
+		pr_err("Problem with DSP image loading\n");
 		goto err_load;
 	}
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-07-12 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-12 21:50 [PATCH 1/8] staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c Marek Belisko
2012-07-12 21:50 ` [PATCH 2/8] staging: ft1000-usb: Remove commented lines from ft1000_device Marek Belisko
2012-07-12 21:50 ` [PATCH 3/8] staging: ft1000-usb: Remove leading spaces from struct ft1000_info Marek Belisko
2012-07-12 21:50 ` [PATCH 4/8] staging: ft1000-usb: Remove spaces from struct dpram_blk Marek Belisko
2012-07-12 21:50 ` [PATCH 5/8] staging: ft1000-usb: Remove name comments from ft1000_usb.h Marek Belisko
2012-07-12 21:50 ` [PATCH 6/8] staging: ft1000-usb: Fix lines over 80 chars Marek Belisko
2012-07-12 21:50 ` [PATCH 7/8] staging: ft1000-usb: Replace all C99 comments with regular in ft1000_usb.h Marek Belisko
2012-07-12 21:50 ` [PATCH 8/8] staging: ft1000-usb: Fix various checkpach warnings " Marek Belisko

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.