diff options
author | 2013-09-12 15:50:40 +0900 | |
---|---|---|
committer | 2013-09-19 13:30:06 +0300 | |
commit | 8e6947764f4b69d612519e9202f6e9ae982b6cd4 (patch) | |
tree | 20c6143e38a23188d392310d86fa4b88381af068 /drivers/video/arkfb.c | |
parent | radeonfb: Use pci_dev pm_cap (diff) | |
download | linux-8e6947764f4b69d612519e9202f6e9ae982b6cd4.tar.gz linux-8e6947764f4b69d612519e9202f6e9ae982b6cd4.tar.bz2 linux-8e6947764f4b69d612519e9202f6e9ae982b6cd4.zip |
video: arkfb: 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/arkfb.c')
-rw-r--r-- | drivers/video/arkfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/arkfb.c b/drivers/video/arkfb.c index 94a51f1ef904..ff6e304b225f 100644 --- a/drivers/video/arkfb.c +++ b/drivers/video/arkfb.c @@ -1108,7 +1108,6 @@ static void ark_pci_remove(struct pci_dev *dev) pci_release_regions(dev); /* pci_disable_device(dev); */ - pci_set_drvdata(dev, NULL); framebuffer_release(info); } } |