diff options
author | Robert Gerlach <khnz@gmx.de> | 2012-04-03 16:34:34 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-05-31 14:23:39 -0400 |
commit | 32be65bee53ce7057b8ab3455af1e9b762bb510f (patch) | |
tree | 8f6244c76076dd18f7f7e3e310a4acc12e43d9b6 /drivers/platform | |
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/platform')
-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 @@ | |||
16 | * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. | 16 | * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
20 | |||
19 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
20 | #include <linux/module.h> | 22 | #include <linux/module.h> |
21 | #include <linux/init.h> | 23 | #include <linux/init.h> |
@@ -274,7 +276,7 @@ static irqreturn_t fujitsu_interrupt(int irq, void *dev_id) | |||
274 | 276 | ||
275 | static int __devinit fujitsu_dmi_default(const struct dmi_system_id *dmi) | 277 | static int __devinit fujitsu_dmi_default(const struct dmi_system_id *dmi) |
276 | { | 278 | { |
277 | printk(KERN_INFO MODULENAME ": %s\n", dmi->ident); | 279 | pr_info("%s\n", dmi->ident); |
278 | memcpy(fujitsu.config.keymap, dmi->driver_data, | 280 | memcpy(fujitsu.config.keymap, dmi->driver_data, |
279 | sizeof(fujitsu.config.keymap)); | 281 | sizeof(fujitsu.config.keymap)); |
280 | return 1; | 282 | return 1; |