Skip to contentSkip to conversation

radio-mr800: remove info-macro

PATCH New Alexey Klimov 1 participant 1 message Oct 14, 2008 1 message not in the archive Linux-next tree

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 radio-mr800: remove info-macro

Here, just look.

---------- Forwarded message ----------
From: Alexey Klimov <[email protected]>
Date: Sun, Oct 12, 2008 at 3:05 AM
Subject: [patch] radio-mr800: remove info-macro
To: Douglas Schilling Landgraf <[email protected]>

Hello, Douglas!
Here is the patch, that removes 3 info()-statements in radio-mr800, and place standart printk() there.

Signature · 1 line
Best regards, Klimov Alexey
linux/drivers/media/radio/radio-mr800.c +4 -3
diff -r 4092ed90412b linux/drivers/media/radio/radio-mr800.c
@@ -508,7 +508,7 @@
 	if (amradio_stop(radio) < 0)
 		warn("amradio_stop() failed");
 
-	info("radio-mr800: Going into suspend..");
+	printk(KERN_INFO KBUILD_MODNAME ": Going into suspend..\n");
 
 	return 0;
 }
@@ -521,7 +521,7 @@
 	if (amradio_start(radio) < 0)
 		warn("amradio_start() failed");
 
-	info("radio-mr800: Coming out of suspend..");
+	printk(KERN_INFO KBUILD_MODNAME ": Coming out of suspend..\n");
 
 	return 0;
 }
@@ -615,7 +615,8 @@
 {
 	int retval = usb_register(&usb_amradio_driver);
 
-	info(DRIVER_VERSION " " DRIVER_DESC);
+	printk(KERN_INFO KBUILD_MODNAME ": "
+			DRIVER_VERSION " " DRIVER_DESC "\n");
 	if (retval)
 		err("usb_register failed. Error number %d", retval);
 	return retval;