diff options
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 14ae5583e198..072bbf528151 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | #include <linux/poll.h> | 23 | #include <linux/poll.h> |
24 | #include <linux/device.h> | 24 | #include <linux/device.h> |
25 | #include <linux/devfs_fs_kernel.h> | ||
26 | 25 | ||
27 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>"); | 26 | MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>"); |
28 | MODULE_DESCRIPTION("Input core"); | 27 | MODULE_DESCRIPTION("Input core"); |
@@ -770,13 +769,8 @@ static int __init input_init(void) | |||
770 | goto fail2; | 769 | goto fail2; |
771 | } | 770 | } |
772 | 771 | ||
773 | err = devfs_mk_dir("input"); | ||
774 | if (err) | ||
775 | goto fail3; | ||
776 | |||
777 | return 0; | 772 | return 0; |
778 | 773 | ||
779 | fail3: unregister_chrdev(INPUT_MAJOR, "input"); | ||
780 | fail2: input_proc_exit(); | 774 | fail2: input_proc_exit(); |
781 | fail1: class_destroy(input_class); | 775 | fail1: class_destroy(input_class); |
782 | return err; | 776 | return err; |
@@ -785,7 +779,6 @@ static int __init input_init(void) | |||
785 | static void __exit input_exit(void) | 779 | static void __exit input_exit(void) |
786 | { | 780 | { |
787 | input_proc_exit(); | 781 | input_proc_exit(); |
788 | devfs_remove("input"); | ||
789 | unregister_chrdev(INPUT_MAJOR, "input"); | 782 | unregister_chrdev(INPUT_MAJOR, "input"); |
790 | class_destroy(input_class); | 783 | class_destroy(input_class); |
791 | } | 784 | } |