summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/stowaway.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/stowaway.c')
-rw-r--r--drivers/input/keyboard/stowaway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/stowaway.c b/drivers/input/keyboard/stowaway.c
index 56e784936059..7ef0b3f4f549 100644
--- a/drivers/input/keyboard/stowaway.c
+++ b/drivers/input/keyboard/stowaway.c
@@ -72,7 +72,7 @@ static int skbd_connect(struct serio *serio, struct serio_driver *drv)
int err = -ENOMEM;
int i;
- skbd = kzalloc(sizeof(struct skbd), GFP_KERNEL);
+ skbd = kzalloc(sizeof(*skbd), GFP_KERNEL);
input_dev = input_allocate_device();
if (!skbd || !input_dev)
goto fail1;