Input: serio - remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Nov 2013 02:11:15 +0000 (18:11 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 26 Nov 2013 02:28:18 +0000 (18:28 -0800)
commitd0134e9fcfa393f64b4b406a6aac90d9b929a704
tree9300ada8f58e2a49a19034d8ee74fb7d76342187
parent7f9ce649d2675103bbb71fe2c2bb4cd7fb362c37
Input: serio - remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/pcips2.c