summaryrefslogtreecommitdiff
path: root/drivers/video/i810
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-09-12 10:55:29 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-19 14:30:07 +0400
commit17a7a1989aed7294f27b204fd93ee6842a47488f (patch)
treef250176f1f11150cf423dbeb797699bc7eb2e0b2 /drivers/video/i810
parent6a20807905b6cf84026f78f25aee2ccc0e4d0d3e (diff)
downloadlinux-17a7a1989aed7294f27b204fd93ee6842a47488f.tar.xz
video: i810fb: 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/i810')
-rw-r--r--drivers/video/i810/i810_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c
index 4ce3438ade6f..038192ac7369 100644
--- a/drivers/video/i810/i810_main.c
+++ b/drivers/video/i810/i810_main.c
@@ -2129,7 +2129,6 @@ static void __exit i810fb_remove_pci(struct pci_dev *dev)
unregister_framebuffer(info);
i810fb_release_resource(info, par);
- pci_set_drvdata(dev, NULL);
printk("cleanup_module: unloaded i810 framebuffer device\n");
}