]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: intel_vr_nor: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 23 Sep 2013 01:29:58 +0000 (10:29 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 15 Oct 2013 20:56:51 +0000 (13:56 -0700)
commit8a69af89845ed46c721519471dfc5929d9634abb
tree1a6aa5f3a2708fb9ae9be0ba2c41b7bc0c4def92
parentb10ca7fd5bfc569e8400bb7a86323ff77898cffc
mtd: intel_vr_nor: 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: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/intel_vr_nor.c