mtd: dataflash: remove unnecessary spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 03:24:22 +0000 (12:24 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:20 +0000 (11:22 -0800)
commit1ba80c9e08a6d17ac495d8e6a1acd3d0f6a7971b
treed2f0c7d32b8c15d8ab445c2b2e3ab7d01ab253e7
parentafc62baf107355715beaf982513db3355867b29b
mtd: dataflash: remove unnecessary spi_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/devices/mtd_dataflash.c