From: Dmitry Torokhov Date: Mon, 31 Oct 2005 06:29:51 +0000 (-0500) Subject: Input: fix input_dev registration message X-Git-Tag: v2.6.15-rc1~59^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995fc4df0bc8d88417742e4b1d17889fc64b6ef3;p=linux-2.6 Input: fix input_dev registration message Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/input.c b/drivers/input/input.c index 3b1685ff9d..1a1654caed 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -730,7 +730,7 @@ static void input_register_classdevice(struct input_dev *dev) "input%ld", (unsigned long) atomic_inc_return(&input_no) - 1); path = kobject_get_path(&dev->cdev.class->subsys.kset.kobj, GFP_KERNEL); - printk(KERN_INFO "input: %s/%s as %s\n", + printk(KERN_INFO "input: %s as %s/%s\n", dev->name ? dev->name : "Unspecified device", path ? path : "", dev->cdev.class_id); kfree(path);