summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/touchit213.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/touchit213.c')
-rw-r--r--drivers/input/touchscreen/touchit213.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/touchit213.c b/drivers/input/touchscreen/touchit213.c
index fb49687da405..c2718350815c 100644
--- a/drivers/input/touchscreen/touchit213.c
+++ b/drivers/input/touchscreen/touchit213.c
@@ -139,7 +139,7 @@ static int touchit213_connect(struct serio *serio, struct serio_driver *drv)
struct input_dev *input_dev;
int err;
- touchit213 = kzalloc(sizeof(struct touchit213), GFP_KERNEL);
+ touchit213 = kzalloc(sizeof(*touchit213), GFP_KERNEL);
input_dev = input_allocate_device();
if (!touchit213 || !input_dev) {
err = -ENOMEM;