diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-09-15 03:01:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 12:52:52 -0400 |
commit | 4f00469c16b86a3dd6ed66b28c605c8430d58eeb (patch) | |
tree | 2129fe4c1914c69d2f5acdd07c112a92a6b59339 /drivers/input/evdev.c | |
parent | 74be227f728ed68bfc270153665b43fc1f0fa845 (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/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 83b694cb8507..14ea57f963bb 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/major.h> | 20 | #include <linux/major.h> |
21 | #include <linux/smp_lock.h> | 21 | #include <linux/smp_lock.h> |
22 | #include <linux/device.h> | 22 | #include <linux/device.h> |
23 | #include <linux/devfs_fs_kernel.h> | ||
24 | #include <linux/compat.h> | 23 | #include <linux/compat.h> |
25 | 24 | ||
26 | struct evdev { | 25 | struct evdev { |
@@ -687,8 +686,6 @@ static struct input_handle *evdev_connect(struct input_handler *handler, struct | |||
687 | 686 | ||
688 | evdev_table[minor] = evdev; | 687 | evdev_table[minor] = evdev; |
689 | 688 | ||
690 | devfs_mk_cdev(MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor), | ||
691 | S_IFCHR|S_IRUGO|S_IWUSR, "input/event%d", minor); | ||
692 | class_device_create(input_class, NULL, | 689 | class_device_create(input_class, NULL, |
693 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor), | 690 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor), |
694 | dev->dev, "event%d", minor); | 691 | dev->dev, "event%d", minor); |
@@ -703,7 +700,6 @@ static void evdev_disconnect(struct input_handle *handle) | |||
703 | 700 | ||
704 | class_device_destroy(input_class, | 701 | class_device_destroy(input_class, |
705 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor)); | 702 | MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + evdev->minor)); |
706 | devfs_remove("input/event%d", evdev->minor); | ||
707 | evdev->exist = 0; | 703 | evdev->exist = 0; |
708 | 704 | ||
709 | if (evdev->open) { | 705 | if (evdev->open) { |