diff options
author | Robert Gerlach <khnz@gmx.de> | 2012-04-03 22:34:34 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-05-31 14:23:39 -0400 |
commit | 32be65bee53ce7057b8ab3455af1e9b762bb510f (patch) | |
tree | 8f6244c76076dd18f7f7e3e310a4acc12e43d9b6 /drivers | |
parent | a5c02c2f63812c265d34ef93e1ea7e5fe2d3a784 (diff) |
fujitsu-tablet: convert printk to pr_*
Signed-off-by: Robert Gerlach <khnz@gmx.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/fujitsu-tablet.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> @@ -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; |