mmc: sdhci-of-arasan: fix missing sdhci_pltfm_free for err handling
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 7 Mar 2016 15:39:08 +0000 (23:39 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:39 +0000 (14:54 +0100)
commit278d09624eda94d82ff385b1c40ecc3db99c73d3
tree8b53cfa04b642ca754ad28242b8181202e1d70d2
parent842750488de659ffd12a28e5f5328c9f15ea08e1
mmc: sdhci-of-arasan: fix missing sdhci_pltfm_free for err handling

Currently, some err handling of sdhci_arasan_probe return directly
without calling sdhci_pltfm_free. This patch fixes them.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c