Skip to content

Commit

Permalink
Input: qt1070 - remove obsolete cleanup for clientdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang authored and Dmitry Torokhov committed Jun 21, 2011
1 parent 5629937 commit fef95fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/input/keyboard/qt1070.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fef95fa

Please sign in to comment.