misc: pti: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 23 Sep 2013 01:38:26 +0000 (10:38 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:13:54 +0000 (09:13 -0700)
commit30399bbfa698689e81f9507992034fe09700941b
tree0932d9a4d7cb6198cb64bf9d94a52407b25f03ec
parentb9be2c60fce7a93723403488a2f5d508ff7d3d2f
misc: pti: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pti.c