radio-mr800: remove info-macro
PATCH 1/1 radio-mr800: remove info-macro
In reply to a message not in the archiveHere, 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.
Signed-off-by Alexey Klimov <[email protected]>
Signature · 1 line
Best regards, Klimov Alexey
linux/drivers/media/radio/radio-mr800.c +4 -3
@@ -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;