Commit 995fc4df authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: fix input_dev registration message

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 7972720a
...@@ -730,7 +730,7 @@ static void input_register_classdevice(struct input_dev *dev) ...@@ -730,7 +730,7 @@ static void input_register_classdevice(struct input_dev *dev)
"input%ld", (unsigned long) atomic_inc_return(&input_no) - 1); "input%ld", (unsigned long) atomic_inc_return(&input_no) - 1);
path = kobject_get_path(&dev->cdev.class->subsys.kset.kobj, GFP_KERNEL); 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", dev->name ? dev->name : "Unspecified device",
path ? path : "", dev->cdev.class_id); path ? path : "", dev->cdev.class_id);
kfree(path); kfree(path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment