Input: qt1070 - remove obsolete cleanup for clientdata
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 21 Jun 2011 11:20:57 +0000 (04:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 21 Jun 2011 11:31:53 +0000 (04:31 -0700)
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>
drivers/input/keyboard/qt1070.c

index ca7b89196ab79a4ceee7b05ebe2ce65044c055b3..b21bf5b876bb8763037646442d3aa33d1ec85d66 100644 (file)
@@ -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;
 }