From: Stephen Warren Date: Fri, 15 Feb 2013 22:03:48 +0000 (-0700) Subject: spi/tegra-sflash: assume CONFIG_OF, remove platform data X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~130^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2546959192756f474ef299cbfe070cbfb675ef3;p=pandora-kernel.git spi/tegra-sflash: assume CONFIG_OF, remove platform data Tegra only supports, and always enables, device tree. Remove all ifdefs and runtime checks for DT support from the driver. Platform data is therefore no longer required. Rework the driver to parse the device tree directly into struct tegra_sflash_data. Signed-off-by: Stephen Warren Signed-off-by: Grant Likely --- Reading git-diff-tree failed