OSDN Git Service

video: intelfb: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:56:00 +0000 (15:56 +0900)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Sep 2013 10:30:07 +0000 (13:30 +0300)
commit07af229af68efd6220b301be6561ca19ce26c40e
tree050bd997b963acf9377faa967f5041adc08415de
parent17a7a1989aed7294f27b204fd93ee6842a47488f
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>
drivers/video/intelfb/intelfbdrv.c