diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-12 15:56:00 +0900 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 13:30:07 +0300 |
commit | 07af229af68efd6220b301be6561ca19ce26c40e (patch) | |
tree | 050bd997b963acf9377faa967f5041adc08415de | |
parent | 17a7a1989aed7294f27b204fd93ee6842a47488f (diff) | |
download | blackbird-op-linux-07af229af68efd6220b301be6561ca19ce26c40e.tar.gz blackbird-op-linux-07af229af68efd6220b301be6561ca19ce26c40e.zip |
video: intelfb: 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/intelfb/intelfbdrv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index 8209e46c5d28..b847d530471a 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c @@ -931,8 +931,6 @@ static void intelfb_pci_unregister(struct pci_dev *pdev) return; cleanup(dinfo); - - pci_set_drvdata(pdev, NULL); } /*************************************************************** |