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)
commite2546959192756f474ef299cbfe070cbfb675ef3
tree0918cec24a587acfa483fed2309d5425a8f61ad6
parentede2738a73f44885cc92655bda158dce6712a3c7
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
This page took 0.02412 seconds and 5 git commands to generate.