aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-21 01:08:24 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-21 01:11:08 -0500
commit0c1efd365306c9b04df5abdd41e9b4dc721e84fb (patch)
tree8afc12816fd08cb38e6651eb18c1645c1ae13278 /include/linux
parent3eaeb9c951d060fff71bcdc327eb48ee52ed1c0c (diff)
Input: remove cdev from input_dev structure
Cdev field was obsolete and provided only for backward compatibility since conversion of input core from class devices to regular devices. It is time to remove it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 9a963fe97300..48937ffa977a 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1018,7 +1018,6 @@ struct ff_effect {
1018 * @going_away: marks devices that are in a middle of unregistering and 1018 * @going_away: marks devices that are in a middle of unregistering and
1019 * causes input_open_device*() fail with -ENODEV. 1019 * causes input_open_device*() fail with -ENODEV.
1020 * @dev: driver model's view of this device 1020 * @dev: driver model's view of this device
1021 * @cdev: union for struct device pointer
1022 * @h_list: list of input handles associated with the device. When 1021 * @h_list: list of input handles associated with the device. When
1023 * accessing the list dev->mutex must be held 1022 * accessing the list dev->mutex must be held
1024 * @node: used to place the device onto input_dev_list 1023 * @node: used to place the device onto input_dev_list
@@ -1083,9 +1082,6 @@ struct input_dev {
1083 int going_away; 1082 int going_away;
1084 1083
1085 struct device dev; 1084 struct device dev;
1086 union { /* temporarily so while we switching to struct device */
1087 struct device *dev;
1088 } cdev;
1089 1085
1090 struct list_head h_list; 1086 struct list_head h_list;
1091 struct list_head node; 1087 struct list_head node;