2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 16:13:54 +08:00

fujitsu-tablet: convert printk to pr_*

Signed-off-by: Robert Gerlach <khnz@gmx.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
Robert Gerlach 2012-04-03 22:34:34 +02:00 committed by Matthew Garrett
parent a5c02c2f63
commit 32be65bee5

View File

@ -16,6 +16,8 @@
* 59 Temple Place Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place Suite 330, Boston, MA 02111-1307, USA.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.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) 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, memcpy(fujitsu.config.keymap, dmi->driver_data,
sizeof(fujitsu.config.keymap)); sizeof(fujitsu.config.keymap));
return 1; return 1;