diff options
Diffstat (limited to 'drivers/input/misc/kxtj9.c')
-rw-r--r-- | drivers/input/misc/kxtj9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/kxtj9.c b/drivers/input/misc/kxtj9.c index a416f7f06738..6c96dc3a3c8f 100644 --- a/drivers/input/misc/kxtj9.c +++ b/drivers/input/misc/kxtj9.c | |||
@@ -301,7 +301,7 @@ static int __devinit kxtj9_setup_input_device(struct kxtj9_data *tj9) | |||
301 | int err; | 301 | int err; |
302 | 302 | ||
303 | input_dev = input_allocate_device(); | 303 | input_dev = input_allocate_device(); |
304 | if (!tj9->input_dev) { | 304 | if (!input_dev) { |
305 | dev_err(&tj9->client->dev, "input device allocate failed\n"); | 305 | dev_err(&tj9->client->dev, "input device allocate failed\n"); |
306 | return -ENOMEM; | 306 | return -ENOMEM; |
307 | } | 307 | } |