diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-10-31 01:29:51 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-10-31 01:29:51 -0500 |
commit | 995fc4df0bc8d88417742e4b1d17889fc64b6ef3 (patch) | |
tree | 9a243c0f2cfbcbf192298a4f5415fe1972ab2cf6 /drivers/input | |
parent | 7972720aaa044d0bca40e2e1d4c176076a9f0e00 (diff) | |
download | op-kernel-dev-995fc4df0bc8d88417742e4b1d17889fc64b6ef3.zip op-kernel-dev-995fc4df0bc8d88417742e4b1d17889fc64b6ef3.tar.gz |
Input: fix input_dev registration message
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 3b1685f..1a1654c 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); |