diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 06:51:25 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 10:30:06 (GMT) |
commit | 4a70324640e100f375e55e9b502d18c610a8432d (patch) | |
tree | b52e68cb51187664ff440accd598235944cbe40f /drivers/video/carminefb.c | |
parent | 8e6947764f4b69d612519e9202f6e9ae982b6cd4 (diff) | |
download | linux-fsl-qoriq-4a70324640e100f375e55e9b502d18c610a8432d.tar.xz |
video: carminefb: 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/carminefb.c')
-rw-r--r-- | drivers/video/carminefb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/carminefb.c b/drivers/video/carminefb.c index 153dd65..b98f709 100644 --- a/drivers/video/carminefb.c +++ b/drivers/video/carminefb.c @@ -746,7 +746,6 @@ static void carminefb_remove(struct pci_dev *dev) iounmap(hw->v_regs); release_mem_region(fix.mmio_start, fix.mmio_len); - pci_set_drvdata(dev, NULL); pci_disable_device(dev); kfree(hw); } |