diff options
Diffstat (limited to 'drivers/input/keyboard/stowaway.c')
-rw-r--r-- | drivers/input/keyboard/stowaway.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/stowaway.c b/drivers/input/keyboard/stowaway.c index 04c54c57f25c..e60937d17b1c 100644 --- a/drivers/input/keyboard/stowaway.c +++ b/drivers/input/keyboard/stowaway.c | |||
@@ -71,13 +71,12 @@ struct skbd { | |||
71 | }; | 71 | }; |
72 | 72 | ||
73 | static irqreturn_t skbd_interrupt(struct serio *serio, unsigned char data, | 73 | static irqreturn_t skbd_interrupt(struct serio *serio, unsigned char data, |
74 | unsigned int flags, struct pt_regs *regs) | 74 | unsigned int flags) |
75 | { | 75 | { |
76 | struct skbd *skbd = serio_get_drvdata(serio); | 76 | struct skbd *skbd = serio_get_drvdata(serio); |
77 | struct input_dev *dev = skbd->dev; | 77 | struct input_dev *dev = skbd->dev; |
78 | 78 | ||
79 | if (skbd->keycode[data & SKBD_KEY_MASK]) { | 79 | if (skbd->keycode[data & SKBD_KEY_MASK]) { |
80 | input_regs(dev, regs); | ||
81 | input_report_key(dev, skbd->keycode[data & SKBD_KEY_MASK], | 80 | input_report_key(dev, skbd->keycode[data & SKBD_KEY_MASK], |
82 | !(data & SKBD_RELEASE)); | 81 | !(data & SKBD_RELEASE)); |
83 | input_sync(dev); | 82 | input_sync(dev); |