From: Axel Lin Date: Tue, 17 Sep 2013 07:59:32 +0000 (+0800) Subject: mmc: sdhci-bcm-kona: Use sdhci_pltfm_unregister instead of open coded X-Git-Tag: v3.13-rc1~50^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1acfd0def7487d0554048bc613db4e7c3f3211;p=pandora-kernel.git mmc: sdhci-bcm-kona: Use sdhci_pltfm_unregister instead of open coded This avoid duplicated implementation and also fixes missing iounmap() and release_mem_region() calls in sdhci_bcm_kona_remove(). sdhci_pltfm_init() calls request_mem_region() and ioremap(), thus we need to call the corresponding iounmap() and release_mem_region() calls in sdhci_bcm_kona_remove(). Signed-off-by: Axel Lin Signed-off-by: Chris Ball --- Reading git-diff-tree failed