summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-12 15:50:40 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-19 13:30:06 +0300
commit8e6947764f4b69d612519e9202f6e9ae982b6cd4 (patch)
tree20c6143e38a23188d392310d86fa4b88381af068
parent65122f7e80b5a4aaec76c21369c798975c3eedac (diff)
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>
-rw-r--r--drivers/video/arkfb.c1
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);
}
}