diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
commit | 334d0dd8b660557608142f0f77abc6812b48f08b (patch) | |
tree | 9393a9aa099d7d42deda5f9f5054796c0c769be7 /drivers/input/mousedev.c | |
parent | 3f07d8796262f6aee135c8dd9a91210da9f888e4 (diff) | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) | |
download | linux-334d0dd8b660557608142f0f77abc6812b48f08b.tar.bz2 |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 3b8011c56c86..7678e9876550 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c @@ -724,7 +724,7 @@ static int mousedev_connect(struct input_handler *handler, struct input_dev *dev } /* temporary symlink to keep userspace happy */ - error = sysfs_create_link(&input_class.subsys.kset.kobj, + error = sysfs_create_link(&input_class.subsys.kobj, &cdev->kobj, mousedev->name); if (error) goto err_cdev_destroy; @@ -742,7 +742,7 @@ static int mousedev_connect(struct input_handler *handler, struct input_dev *dev err_unregister_handle: input_unregister_handle(&mousedev->handle); err_remove_link: - sysfs_remove_link(&input_class.subsys.kset.kobj, mousedev->name); + sysfs_remove_link(&input_class.subsys.kobj, mousedev->name); err_cdev_destroy: class_device_destroy(&input_class, devt); err_free_mousedev: @@ -758,7 +758,7 @@ static void mousedev_disconnect(struct input_handle *handle) input_unregister_handle(handle); - sysfs_remove_link(&input_class.subsys.kset.kobj, mousedev->name); + sysfs_remove_link(&input_class.subsys.kobj, mousedev->name); class_device_destroy(&input_class, MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + mousedev->minor)); mousedev->exist = 0; |