mmc: sdhci-bcm-kona: Use sdhci_pltfm_unregister instead of open coded
authorAxel Lin <axel.lin@ingics.com>
Tue, 17 Sep 2013 07:59:32 +0000 (15:59 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 02:05:26 +0000 (22:05 -0400)
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 <axel.lin@ingics.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found