Commit fef95faeae9fa5f605fbad8693e2d6e2171f5ad4

Authored by Wolfram Sang
Committed by Dmitry Torokhov
1 parent 5629937872

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/input/keyboard/qt1070.c
... ... @@ -239,8 +239,6 @@
239 239 input_unregister_device(data->input);
240 240 kfree(data);
241 241  
242   - i2c_set_clientdata(client, NULL);
243   -
244 242 return 0;
245 243 }
246 244