]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
misc: tifm: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 23 Sep 2013 01:35:06 +0000 (10:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:13:53 +0000 (09:13 -0700)
commita840a72d7211e176937d99a164c2ceab601777c3
tree55929d2266c02f47eb5843bb1cced1f4cc879885
parentf91f9258f61f024d34b7c001f989acf8ee39378a
misc: tifm: 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/tifm_7xx1.c