]> 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)
commitdc6cc0c9c628efd5d400c17b934dbaf4334bfff5
treec66985cbb8265d5635e3d1c3c590dc274d3d5df7
parent5fd062d64ab2fbadea13225a69f15fb8bcf1da99
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