From: Jingoo Han Date: Mon, 23 Sep 2013 01:30:52 +0000 (+0900) Subject: mtd: pci: remove unnecessary pci_set_drvdata() X-Git-Tag: v3.13-rc1~98^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd688920c549da7dbe303dfe21575d4a88adde38;p=pandora-kernel.git mtd: pci: 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 Signed-off-by: Brian Norris --- Reading git-diff-tree failed