diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 08:59:13 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 12:30:09 +0200 |
commit | 354b40c4a2f99461f86a5dc8a62e59acd18b08ea (patch) | |
tree | 6776c724038eff0624b71fdb6cedec1719b92a3a /drivers/video/s3fb.c | |
parent | video: pm3fb: remove unnecessary pci_set_drvdata() (diff) | |
download | linux-354b40c4a2f99461f86a5dc8a62e59acd18b08ea.tar.xz linux-354b40c4a2f99461f86a5dc8a62e59acd18b08ea.zip |
video: s3fb: 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 '')
-rw-r--r-- | drivers/video/s3fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c index 47ca86c5c6c0..d158d2c0460f 100644 --- a/drivers/video/s3fb.c +++ b/drivers/video/s3fb.c @@ -1431,7 +1431,6 @@ static void s3_pci_remove(struct pci_dev *dev) pci_release_regions(dev); /* pci_disable_device(dev); */ - pci_set_drvdata(dev, NULL); framebuffer_release(info); } } |