diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 15:54:28 +0900 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 13:30:07 +0300 |
commit | 44f75bfdbea0a2364dda7d733b5a2e4e31de5482 (patch) | |
tree | c29116a6e0f12f85e8e8181c32ac62b7b6a12310 /drivers | |
parent | 90def2c31247ff195ce52089405a400a0209ca64 (diff) |
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>
Diffstat (limited to 'drivers')
-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 19f0c1add74..a42d74d6ede 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); } |