diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-04 21:04:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-04 21:04:48 -0400 |
commit | 5b339915762d30b21995aa7263e74081f2f1110a (patch) | |
tree | 4e076dbd27025054b21dddd78a1cb3fef3de34d7 /drivers/input | |
parent | 89661adaaee2f85116b399e642129ccd4dafd195 (diff) | |
parent | 823bccfc4002296ba88c3ad0f049e1abd8108d30 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
remove "struct subsystem" as it is no longer needed
sysfs: printk format warning
DOC: Fix wrong identifier name in Documentation/driver-model/devres.txt
platform: reorder platform_device_del
Driver core: fix show_uevent from taking up way too much stack
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/evdev.c | 4 | ||||
-rw-r--r-- | drivers/input/joydev.c | 4 | ||||
-rw-r--r-- | drivers/input/mousedev.c | 4 | ||||
-rw-r--r-- | drivers/input/tsdev.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 6439f378f6cc..6e55b2c5874e 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -650,7 +650,7 @@ static struct input_handle *evdev_connect(struct input_handler *handler, struct | |||
650 | dev->cdev.dev, evdev->name); | 650 | dev->cdev.dev, evdev->name); |
651 | 651 | ||
652 | /* temporary symlink to keep userspace happy */ | 652 | /* temporary symlink to keep userspace happy */ |
653 | sysfs_create_link(&input_class.subsys.kset.kobj, &cdev->kobj, | 653 | sysfs_create_link(&input_class.subsys.kobj, &cdev->kobj, |
654 | evdev->name); | 654 | evdev->name); |
655 | 655 | ||
656 | return &evdev->handle; | 656 | return &evdev->handle; |
@@ -661,7 +661,7 @@ static void evdev_disconnect(struct input_handle *handle) | |||
661 | struct evdev *evdev = handle->private; | 661 | struct evdev *evdev = handle->private; |
662 | struct evdev_list *list; | 662 | struct evdev_list *list; |
663 | 663 | ||
664 | sysfs_remove_link(&input_class.subsys.kset.kobj, evdev->name); | 664 | sysfs_remove_link(&input_class.subsys.kobj, evdev->name); |
665 | class_device_destroy(&input_class, | 665 | class_device_destroy(&input_class, |
666 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor)); | 666 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor)); |
667 | evdev->exist = 0; | 667 | evdev->exist = 0; |
diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 9f3529ad3fda..d2482e4f71be 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c | |||
@@ -539,7 +539,7 @@ static struct input_handle *joydev_connect(struct input_handler *handler, struct | |||
539 | dev->cdev.dev, joydev->name); | 539 | dev->cdev.dev, joydev->name); |
540 | 540 | ||
541 | /* temporary symlink to keep userspace happy */ | 541 | /* temporary symlink to keep userspace happy */ |
542 | sysfs_create_link(&input_class.subsys.kset.kobj, &cdev->kobj, | 542 | sysfs_create_link(&input_class.subsys.kobj, &cdev->kobj, |
543 | joydev->name); | 543 | joydev->name); |
544 | 544 | ||
545 | return &joydev->handle; | 545 | return &joydev->handle; |
@@ -550,7 +550,7 @@ static void joydev_disconnect(struct input_handle *handle) | |||
550 | struct joydev *joydev = handle->private; | 550 | struct joydev *joydev = handle->private; |
551 | struct joydev_list *list; | 551 | struct joydev_list *list; |
552 | 552 | ||
553 | sysfs_remove_link(&input_class.subsys.kset.kobj, joydev->name); | 553 | sysfs_remove_link(&input_class.subsys.kobj, joydev->name); |
554 | class_device_destroy(&input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); | 554 | class_device_destroy(&input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); |
555 | joydev->exist = 0; | 555 | joydev->exist = 0; |
556 | 556 | ||
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 664bcc8116fc..074fee429d1b 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -661,7 +661,7 @@ static struct input_handle *mousedev_connect(struct input_handler *handler, stru | |||
661 | dev->cdev.dev, mousedev->name); | 661 | dev->cdev.dev, mousedev->name); |
662 | 662 | ||
663 | /* temporary symlink to keep userspace happy */ | 663 | /* temporary symlink to keep userspace happy */ |
664 | sysfs_create_link(&input_class.subsys.kset.kobj, &cdev->kobj, | 664 | sysfs_create_link(&input_class.subsys.kobj, &cdev->kobj, |
665 | mousedev->name); | 665 | mousedev->name); |
666 | 666 | ||
667 | return &mousedev->handle; | 667 | return &mousedev->handle; |
@@ -672,7 +672,7 @@ static void mousedev_disconnect(struct input_handle *handle) | |||
672 | struct mousedev *mousedev = handle->private; | 672 | struct mousedev *mousedev = handle->private; |
673 | struct mousedev_list *list; | 673 | struct mousedev_list *list; |
674 | 674 | ||
675 | sysfs_remove_link(&input_class.subsys.kset.kobj, mousedev->name); | 675 | sysfs_remove_link(&input_class.subsys.kobj, mousedev->name); |
676 | class_device_destroy(&input_class, | 676 | class_device_destroy(&input_class, |
677 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + mousedev->minor)); | 677 | MKDEV(INPUT_MAJOR, MOUSEDEV_MINOR_BASE + mousedev->minor)); |
678 | mousedev->exist = 0; | 678 | mousedev->exist = 0; |
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 0300dca8591d..05dfc10bc079 100644 --- a/drivers/input/tsdev.c +++ b/drivers/input/tsdev.c | |||
@@ -420,7 +420,7 @@ static struct input_handle *tsdev_connect(struct input_handler *handler, | |||
420 | dev->cdev.dev, tsdev->name); | 420 | dev->cdev.dev, tsdev->name); |
421 | 421 | ||
422 | /* temporary symlink to keep userspace happy */ | 422 | /* temporary symlink to keep userspace happy */ |
423 | sysfs_create_link(&input_class.subsys.kset.kobj, &cdev->kobj, | 423 | sysfs_create_link(&input_class.subsys.kobj, &cdev->kobj, |
424 | tsdev->name); | 424 | tsdev->name); |
425 | 425 | ||
426 | return &tsdev->handle; | 426 | return &tsdev->handle; |
@@ -431,7 +431,7 @@ static void tsdev_disconnect(struct input_handle *handle) | |||
431 | struct tsdev *tsdev = handle->private; | 431 | struct tsdev *tsdev = handle->private; |
432 | struct tsdev_list *list; | 432 | struct tsdev_list *list; |
433 | 433 | ||
434 | sysfs_remove_link(&input_class.subsys.kset.kobj, tsdev->name); | 434 | sysfs_remove_link(&input_class.subsys.kobj, tsdev->name); |
435 | class_device_destroy(&input_class, | 435 | class_device_destroy(&input_class, |
436 | MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + tsdev->minor)); | 436 | MKDEV(INPUT_MAJOR, TSDEV_MINOR_BASE + tsdev->minor)); |
437 | tsdev->exist = 0; | 437 | tsdev->exist = 0; |