]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45e07b3c2e1c062bed2c7e2411ad3a400521f3cb
tree79ebb00cea530ef49f01792760eb42155e997105
parentca4a865bd47a6728d9aa7418d8aced7a0c39b892
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]