parport_pc: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 02:17:57 +0000 (11:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2013 07:04:38 +0000 (23:04 -0800)
commit0463f07ccf0f339231f6cf6e873484ef320cb1a5
treee128dbb93b39bd3b29bd0b0ead7712d6568eab19
parent3f6e48597b2ad8e81852407319fabd6ed4665add
parport_pc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_pc.c