diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-06-21 04:20:57 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-06-21 04:31:53 -0700 |
commit | fef95faeae9fa5f605fbad8693e2d6e2171f5ad4 (patch) | |
tree | 8ff82e577e954fd996011da6f14a263b2e92d249 /drivers/input/keyboard | |
parent | 56299378726d5f2ba8d3c8cbbd13cb280ba45e4f (diff) | |
download | linux-fef95faeae9fa5f605fbad8693e2d6e2171f5ad4.tar.gz linux-fef95faeae9fa5f605fbad8693e2d6e2171f5ad4.tar.bz2 linux-fef95faeae9fa5f605fbad8693e2d6e2171f5ad4.zip |
Input: qt1070 - remove obsolete cleanup for clientdata
A few new i2c-drivers came into the kernel which clear the clientdata
pointer on exit or error. This is not required anymore since the core
will do it for us.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/qt1070.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c index ca7b89196ab7..b21bf5b876bb 100644 --- a/drivers/input/keyboard/qt1070.c +++ b/drivers/input/keyboard/qt1070.c @@ -239,8 +239,6 @@ static int __devexit qt1070_remove(struct i2c_client *client) input_unregister_device(data->input); kfree(data); - i2c_set_clientdata(client, NULL); - return 0; } |