spi/tegra-slink: assume CONFIG_OF, remove platform data
authorStephen Warren <swarren@nvidia.com>
Fri, 15 Feb 2013 22:03:49 +0000 (15:03 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Apr 2013 09:07:59 +0000 (10:07 +0100)
commitc60fea02141167cc277ff92fd6ee21448f56449f
treec66985cbb8265d5635e3d1c3c590dc274d3d5df7
parente2546959192756f474ef299cbfe070cbfb675ef3
spi/tegra-slink: 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_slink_data.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-tegra20-slink.c