diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:02 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:02 -0400 |
commit | 0ca1804f2e4d78e6a037da23f96aa56f762e78fb (patch) | |
tree | 58430e1f5e93092f111c438e4575be0c04c121a4 /drivers/input/mouse/psmouse-base.c | |
parent | 3abccf36081ac827cf5d14db6837117f088937eb (diff) |
Input: drivers/input/mice - don't access dev->private directly
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r-- | drivers/input/mouse/psmouse-base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index e6c9e7bb1f9..54449058911 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c @@ -1083,7 +1083,6 @@ static int psmouse_switch_protocol(struct psmouse *psmouse, const struct psmouse { struct input_dev *input_dev = psmouse->dev; - input_dev->private = psmouse; input_dev->cdev.dev = &psmouse->ps2dev.serio->dev; input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL); |