]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-msm: use sdhci_pltfm_init for private allocation
authorJisheng Zhang <jszhang@marvell.com>
Tue, 16 Feb 2016 13:08:22 +0000 (21:08 +0800)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Tue, 14 Jun 2016 14:40:58 +0000 (17:40 +0300)
commit1483cf2d982f40ae42b2454252c1e54a2ad25f0c
tree36f3d404a7bf73d3cff8b96dec26d38cdc9cdd87
parent10156f1905ea4a30c2b1023d7e05f9ceac1c9793
mmc: sdhci-msm: use sdhci_pltfm_init for private allocation

Commit 0e748234293f ("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-msm
to this allocation.

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