can: pch_can: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 11:10:35 +0000 (20:10 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 21 Sep 2013 13:43:16 +0000 (15:43 +0200)
commitaa86858c356beb72af86107612ac854c0150d6db
tree88ff2d9e6a47b13c484b522de7f1c799d48bd705
parent5fabc336fead7d62b22b1a59e45efd7adc5d2ea7
can: pch_can: 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: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/pch_can.c