mmc: sdhci-bcm2835: use sdhci_pltfm_init for private allocation
authorJisheng Zhang <jszhang@marvell.com>
Tue, 16 Feb 2016 13:08:19 +0000 (21:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:25 +0000 (11:03 +0100)
commit13db83e2b60464266098b52344c7db6b848f4154
tree89d991f393c8a6d2b4c0cf2174c8a266ef62b712
parent8d53e41238a860fa27c6d312adde16148d2ffe07
mmc: sdhci-bcm2835: 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-bcm2835
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>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-bcm2835.c