diff options
Diffstat (limited to 'drivers/input/mouse/synaptics_i2c.c')
-rw-r--r-- | drivers/input/mouse/synaptics_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c index 9867dfe2a638..0ae62f0bcb32 100644 --- a/drivers/input/mouse/synaptics_i2c.c +++ b/drivers/input/mouse/synaptics_i2c.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/input.h> | 17 | #include <linux/input.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include <linux/workqueue.h> | 19 | #include <linux/workqueue.h> |
20 | #include <linux/slab.h> | ||
20 | 21 | ||
21 | #define DRIVER_NAME "synaptics_i2c" | 22 | #define DRIVER_NAME "synaptics_i2c" |
22 | /* maximum product id is 15 characters */ | 23 | /* maximum product id is 15 characters */ |
@@ -612,7 +613,6 @@ static int __devexit synaptics_i2c_remove(struct i2c_client *client) | |||
612 | free_irq(client->irq, touch); | 613 | free_irq(client->irq, touch); |
613 | 614 | ||
614 | input_unregister_device(touch->input); | 615 | input_unregister_device(touch->input); |
615 | i2c_set_clientdata(client, NULL); | ||
616 | kfree(touch); | 616 | kfree(touch); |
617 | 617 | ||
618 | return 0; | 618 | return 0; |