Quellcode durchsuchen

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>
Wolfram Sang vor 14 Jahren
Ursprung
Commit
fef95faeae
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      drivers/input/keyboard/qt1070.c

+ 0 - 2
drivers/input/keyboard/qt1070.c

@@ -239,8 +239,6 @@ static int __devexit qt1070_remove(struct i2c_client *client)
 	input_unregister_device(data->input);
 	input_unregister_device(data->input);
 	kfree(data);
 	kfree(data);
 
 
-	i2c_set_clientdata(client, NULL);
-
 	return 0;
 	return 0;
 }
 }