Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Dmitry Torokhov
fef95fae 56299378

-2
-2
drivers/input/keyboard/qt1070.c
··· 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