diff options
author | Joe Perches <joe@perches.com> | 2010-11-29 23:33:07 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-11-30 23:10:26 -0800 |
commit | da0c490115de026618a7fdcd886602da44392a50 (patch) | |
tree | b61dae8d525fa765151adb8df5456a1e9880a773 /drivers/input/joydev.c | |
parent | 4eb3c30b2e034b673df3e8f21b497e39f3911a02 (diff) | |
download | op-kernel-dev-da0c490115de026618a7fdcd886602da44392a50.zip op-kernel-dev-da0c490115de026618a7fdcd886602da44392a50.tar.gz |
Input: use pr_fmt and pr_<level>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/joydev.c')
-rw-r--r-- | drivers/input/joydev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 9d424ceb..3182c9c 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c @@ -10,6 +10,8 @@ * (at your option) any later version. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <asm/io.h> #include <asm/system.h> #include <linux/delay.h> @@ -806,7 +808,7 @@ static int joydev_connect(struct input_handler *handler, struct input_dev *dev, break; if (minor == JOYDEV_MINORS) { - printk(KERN_ERR "joydev: no more free joydev devices\n"); + pr_err("no more free joydev devices\n"); return -ENFILE; } |