]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-tegra: use sdhci_pltfm_init for private allocation
authorJisheng Zhang <jszhang@marvell.com>
Tue, 16 Feb 2016 13:08:29 +0000 (21:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:29 +0000 (11:03 +0100)
commit4b6e7f3612fc7494d6ae6860c2b1cc2e147a330e
tree9174fbe20917c30677898668423676e685d074fa
parenta402a9ae112f341a830d534eb68452a0a6591db7
mmc: sdhci-tegra: use sdhci_pltfm_init for private allocation

Commit 6c930e431ef4 ("mmc: sdhci: Add size for caller in init+register")
allows users of sdhci_pltfm to allocate private space in calls to
sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-tegra
to this allocation.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c