summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-12 15:51:57 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-19 13:30:06 +0300
commitd5ddbb00b85486c458854b61f6002a6c8edee0c3 (patch)
treebd0d5a3b4a5f09b1c5b68e170cf4bf0bb7436538
parent4a70324640e100f375e55e9b502d18c610a8432d (diff)
video: cirrusfb: 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>
-rw-r--r--drivers/video/cirrusfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 97db3ba8f237..b0167468f5c4 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -2159,7 +2159,6 @@ static int cirrusfb_pci_register(struct pci_dev *pdev,
if (!ret)
return 0;
- pci_set_drvdata(pdev, NULL);
iounmap(info->screen_base);
err_release_legacy:
if (release_io_ports)