]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: scb2_flash: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 23 Sep 2013 01:31:30 +0000 (10:31 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 15 Oct 2013 20:56:52 +0000 (13:56 -0700)
commit248b5e70269e8f5aee57fdc87b566ec2fa5933d0
treee30143b5a990112b518de00a03670db48e9a9ca6
parent628b62f84db1c32ace946f75d683926d0557fe85
mtd: scb2_flash: 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/scb2_flash.c