From 32be65bee53ce7057b8ab3455af1e9b762bb510f Mon Sep 17 00:00:00 2001 From: Robert Gerlach Date: Tue, 3 Apr 2012 22:34:34 +0200 Subject: [PATCH] fujitsu-tablet: convert printk to pr_* Signed-off-by: Robert Gerlach Signed-off-by: Matthew Garrett --- drivers/platform/x86/fujitsu-tablet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c index 4830f5d297e9..8b74fdfc77cd 100644 --- a/drivers/platform/x86/fujitsu-tablet.c +++ b/drivers/platform/x86/fujitsu-tablet.c @@ -16,6 +16,8 @@ * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -274,7 +276,7 @@ static irqreturn_t fujitsu_interrupt(int irq, void *dev_id) static int __devinit fujitsu_dmi_default(const struct dmi_system_id *dmi) { - printk(KERN_INFO MODULENAME ": %s\n", dmi->ident); + pr_info("%s\n", dmi->ident); memcpy(fujitsu.config.keymap, dmi->driver_data, sizeof(fujitsu.config.keymap)); return 1; -- 2.39.5