]> 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)
commit59dbe4bbd01ffba6f116f700f0e86451855a2757
tree79ebb00cea530ef49f01792760eb42155e997105
parentb209df799e0ca6763a91f4ea079e8bb6633e6e60
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]