mmc: sdhci-iproc: Clean up platform allocations if shdci init fails
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 17 Jan 2016 14:59:00 +0000 (14:59 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:02:48 +0000 (11:02 +0100)
commit1d6ad05777c27c7e8cfb32997a78c8252b85fbb4
treeef01465bfe09f5d0357f7d8c8ed5987002f6a614
parente99369dc95fe99d4ee5f8a0f8bef59062365b7d1
mmc: sdhci-iproc: Clean up platform allocations if shdci init fails

This patch adopts the changes from 475c9e43bfa7 ("mmc: sdhci-bcm2835:
Clean up platform allocations if sdhci init fails") to sdhci-iproc.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c