summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/vsxxxaa.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 07:34:02 +0200
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 07:34:02 +0200
commit0ca1804f2e4d78e6a037da23f96aa56f762e78fb (patch)
tree58430e1f5e93092f111c438e4575be0c04c121a4 /drivers/input/mouse/vsxxxaa.c
parentInput: add input_{get|set}_drvdata() helpers (diff)
downloadlinux-0ca1804f2e4d78e6a037da23f96aa56f762e78fb.tar.xz
linux-0ca1804f2e4d78e6a037da23f96aa56f762e78fb.zip
Input: drivers/input/mice - don't access dev->private directly
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to '')
-rw-r--r--drivers/input/mouse/vsxxxaa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/vsxxxaa.c b/drivers/input/mouse/vsxxxaa.c
index c3d64fcc858d..d65e8a934e50 100644
--- a/drivers/input/mouse/vsxxxaa.c
+++ b/drivers/input/mouse/vsxxxaa.c
@@ -509,7 +509,6 @@ vsxxxaa_connect (struct serio *serio, struct serio_driver *drv)
input_dev->phys = mouse->phys;
input_dev->id.bustype = BUS_RS232;
input_dev->cdev.dev = &serio->dev;
- input_dev->private = mouse;
set_bit (EV_KEY, input_dev->evbit); /* We have buttons */
set_bit (EV_REL, input_dev->evbit);