]> git.baikalelectronics.ru Git - kernel.git/commit
spi/tegra-sflash: assume CONFIG_OF, remove platform data
authorStephen Warren <swarren@nvidia.com>
Fri, 15 Feb 2013 22:03:48 +0000 (15:03 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Apr 2013 09:07:58 +0000 (10:07 +0100)
commit628dea3cbe3a238e878a4c86a6148967db079a6e
tree0918cec24a587acfa483fed2309d5425a8f61ad6
parentfb594a73c81e872e5e7b0d02ff19a29be328ea68
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 <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-tegra20-sflash.c