X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-debug.c;h=555382fc74179c8bb5e2c3bc3deffe9653132b36;hb=428dcc19374c9ebcf8fee057057c9023174c1b2a;hp=75c5e23d09d2074d1869731722b89615cb896607;hpb=29c798fecb9b846b363b0a02fa662ff42fc19426;p=deliverable%2Flinux.git diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 75c5e23d09d2..555382fc7417 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c @@ -26,6 +26,8 @@ * Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -393,7 +395,7 @@ char *hid_resolv_usage(unsigned usage, struct seq_file *f) { buf = resolv_usage_page(usage >> 16, f); if (IS_ERR(buf)) { - printk(KERN_ERR "error allocating HID debug buffer\n"); + pr_err("error allocating HID debug buffer\n"); return NULL; }