diff options
Diffstat (limited to 'drivers/input/keyboard/xtkbd.c')
-rw-r--r-- | drivers/input/keyboard/xtkbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/xtkbd.c b/drivers/input/keyboard/xtkbd.c index 0821d53cf0c1..8c11dc935454 100644 --- a/drivers/input/keyboard/xtkbd.c +++ b/drivers/input/keyboard/xtkbd.c | |||
@@ -64,7 +64,7 @@ struct xtkbd { | |||
64 | }; | 64 | }; |
65 | 65 | ||
66 | static irqreturn_t xtkbd_interrupt(struct serio *serio, | 66 | static irqreturn_t xtkbd_interrupt(struct serio *serio, |
67 | unsigned char data, unsigned int flags, struct pt_regs *regs) | 67 | unsigned char data, unsigned int flags) |
68 | { | 68 | { |
69 | struct xtkbd *xtkbd = serio_get_drvdata(serio); | 69 | struct xtkbd *xtkbd = serio_get_drvdata(serio); |
70 | 70 | ||
@@ -75,7 +75,6 @@ static irqreturn_t xtkbd_interrupt(struct serio *serio, | |||
75 | default: | 75 | default: |
76 | 76 | ||
77 | if (xtkbd->keycode[data & XTKBD_KEY]) { | 77 | if (xtkbd->keycode[data & XTKBD_KEY]) { |
78 | input_regs(xtkbd->dev, regs); | ||
79 | input_report_key(xtkbd->dev, xtkbd->keycode[data & XTKBD_KEY], !(data & XTKBD_RELEASE)); | 78 | input_report_key(xtkbd->dev, xtkbd->keycode[data & XTKBD_KEY], !(data & XTKBD_RELEASE)); |
80 | input_sync(xtkbd->dev); | 79 | input_sync(xtkbd->dev); |
81 | } else { | 80 | } else { |