From: Jingoo Han Date: Mon, 25 Nov 2013 03:24:22 +0000 (+0900) Subject: mtd: dataflash: remove unnecessary spi_set_drvdata() X-Git-Tag: v3.14-rc1~65^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ba80c9e08a6d17ac495d8e6a1acd3d0f6a7971b;p=pandora-kernel.git 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 Signed-off-by: Brian Norris --- Reading git-diff-tree failed