]> git.karo-electronics.de Git - linux-beck.git/commit
parport_serial: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 02:16:33 +0000 (11:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 01:04:40 +0000 (17:04 -0800)
commitf166b4981472baa9af2ae29984ea08e0eb62ca6c
tree0732cf6af824c6aae2f4dd13d5517e6db72dbd03
parent9cfb5e30951e484a403793d67d9ba0e2d4a188fd
parport_serial: 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_serial.c