]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56dfaafa334b8bf2f3e6fc4c4d1f64c7011842e4
treec66985cbb8265d5635e3d1c3c590dc274d3d5df7
parent628dea3cbe3a238e878a4c86a6148967db079a6e
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