Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53426
b: refs/heads/master
c: 0ca1804
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Apr 12, 2007
1 parent c027de8 commit f2809a1
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3abccf36081ac827cf5d14db6837117f088937eb
refs/heads/master: 0ca1804f2e4d78e6a037da23f96aa56f762e78fb
2 changes: 0 additions & 2 deletions trunk/drivers/input/mouse/hil_ptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ static int hil_ptr_connect(struct serio *serio, struct serio_driver *driver)
if (!ptr->dev)
goto bail0;

ptr->dev->private = ptr;

if (serio_open(serio, driver))
goto bail1;

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/mouse/psmouse-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/mouse/sermouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ static int sermouse_connect(struct serio *serio, struct serio_driver *drv)
input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL);
input_dev->keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT);
input_dev->relbit[0] = BIT(REL_X) | BIT(REL_Y);
input_dev->private = sermouse;

if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit);
if (c & 0x02) set_bit(BTN_SIDE, input_dev->keybit);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/mouse/vsxxxaa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f2809a1

Please sign in to comment.