diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 10:54:28 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 14:30:07 +0400 |
commit | 44f75bfdbea0a2364dda7d733b5a2e4e31de5482 (patch) | |
tree | c29116a6e0f12f85e8e8181c32ac62b7b6a12310 /drivers/video/geode/gxfb_core.c | |
parent | 90def2c31247ff195ce52089405a400a0209ca64 (diff) | |
download | linux-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>
Diffstat (limited to 'drivers/video/geode/gxfb_core.c')
-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 19f0c1add747..a42d74d6eded 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); } |