Input: fix input_dev registration message
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
7972720aaa
commit
995fc4df0b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue