summaryrefslogtreecommitdiff
path: root/drivers/staging/panel
diff options
context:
space:
mode:
authorToshiaki Yamane <yamanetoshi@gmail.com>2012-07-12 17:01:00 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-17 05:57:26 +0400
commit493aa896cbed9e5a60f498076d4e3145335cf4c9 (patch)
tree62d48242787f5ddc1059225cf54c7124ce882bf3 /drivers/staging/panel
parenteb073a9bf2b6edf8cf69eb393a1e511942cd1c64 (diff)
downloadlinux-493aa896cbed9e5a60f498076d4e3145335cf4c9.tar.xz
staging: panel: Use pr_info(...) rather than printk(KERN_INFO
-Added pr_fmt. -Converted printk(KERN_INFO to pr_info -Removed embedded message prefixes. Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/panel')
-rw-r--r--drivers/staging/panel/panel.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 3675241315bc..39f9982c2708 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -34,6 +34,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/module.h>
#include <linux/types.h>
@@ -2279,12 +2281,12 @@ int panel_init(void)
register_reboot_notifier(&panel_notifier);
if (pprt)
- printk(KERN_INFO "Panel driver version " PANEL_VERSION
- " registered on parport%d (io=0x%lx).\n", parport,
- pprt->port->base);
+ pr_info("driver version " PANEL_VERSION
+ " registered on parport%d (io=0x%lx).\n", parport,
+ pprt->port->base);
else
- printk(KERN_INFO "Panel driver version " PANEL_VERSION
- " not yet registered\n");
+ pr_info("driver version " PANEL_VERSION
+ " not yet registered\n");
/* tells various subsystems about the fact that initialization
is finished */
init_in_progress = 0;