diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 06:54:28 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 10:30:07 (GMT) |
commit | 44f75bfdbea0a2364dda7d733b5a2e4e31de5482 (patch) | |
tree | c29116a6e0f12f85e8e8181c32ac62b7b6a12310 | |
parent | 90def2c31247ff195ce52089405a400a0209ca64 (diff) | |
download | linux-fsl-qoriq-44f75bfdbea0a2364dda7d733b5a2e4e31de5482.tar.xz |
video: gxfb: 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/geode/gxfb_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/geode/gxfb_core.c b/drivers/video/geode/gxfb_core.c index 19f0c1ad..a42d74d 100644 --- a/drivers/video/geode/gxfb_core.c +++ b/drivers/video/geode/gxfb_core.c @@ -471,7 +471,6 @@ static void gxfb_remove(struct pci_dev *pdev) pci_release_region(pdev, 1); fb_dealloc_cmap(&info->cmap); - pci_set_drvdata(pdev, NULL); framebuffer_release(info); } |