]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 19 Feb 2013 21:59:15 +0000 (16:59 -0500)
commit8659f32786674d229524610ac3b67f11c5cbb257
tree79ebb00cea530ef49f01792760eb42155e997105
parent3d1ed8d342421f7438f4761c8d4cfe499e7daf9f
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]