video: vt8623fb: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 07:01:53 +0000 (16:01 +0900)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Sep 2013 10:30:10 +0000 (13:30 +0300)
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>
drivers/video/vt8623fb.c

index e9557fa014eec0f201b1f91c38970097a37fd5e5..6b424ddd6793b1c4a11bc029ceac6df843763e87 100644 (file)
@@ -829,7 +829,6 @@ static void vt8623_pci_remove(struct pci_dev *dev)
                pci_release_regions(dev);
 /*             pci_disable_device(dev); */
 
-               pci_set_drvdata(dev, NULL);
                framebuffer_release(info);
        }
 }