summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/psmouse-base.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:34:02 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:34:02 -0400
commit0ca1804f2e4d78e6a037da23f96aa56f762e78fb (patch)
tree58430e1f5e93092f111c438e4575be0c04c121a4 /drivers/input/mouse/psmouse-base.c
parent3abccf36081ac827cf5d14db6837117f088937eb (diff)
downloadlinux-0ca1804f2e4d78e6a037da23f96aa56f762e78fb.tar.gz
linux-0ca1804f2e4d78e6a037da23f96aa56f762e78fb.tar.bz2
linux-0ca1804f2e4d78e6a037da23f96aa56f762e78fb.zip
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
index e6c9e7bb1f99..544490589113 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);