mmc: tegra: assume CONFIG_OF, remove platform data
authorStephen Warren <swarren@nvidia.com>
Fri, 15 Feb 2013 22:07:19 +0000 (15:07 -0700)
committerChris Ball <cjb@laptop.org>
Sun, 24 Feb 2013 19:37:26 +0000 (14:37 -0500)
commit0e786102949d7461859c6ce9f39c2c8d28e42db3
tree79ebb00cea530ef49f01792760eb42155e997105
parent2fdb6e2d9bf4b599d1cf8bc2b7874a06608fc7ee
mmc: tegra: 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 sdhci_tegra.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-tegra.c
include/linux/platform_data/mmc-sdhci-tegra.h [deleted file]