aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-09-15 03:01:38 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 12:52:52 -0400
commit4f00469c16b86a3dd6ed66b28c605c8430d58eeb (patch)
tree2129fe4c1914c69d2f5acdd07c112a92a6b59339 /drivers/input/input.c
parent74be227f728ed68bfc270153665b43fc1f0fa845 (diff)
[PATCH] Input: kill devfs references
Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c7
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
27MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>"); 26MODULE_AUTHOR("Vojtech Pavlik <vojtech@suse.cz>");
28MODULE_DESCRIPTION("Input core"); 27MODULE_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)
785static void __exit input_exit(void) 779static 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}