commit | ff1acfd0def7487d0554048bc613db4e7c3f3211 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Sep 17 15:59:32 2013 +0800 |
committer | Chris Ball <cjb@laptop.org> | Wed Sep 25 22:05:26 2013 -0400 |
tree | 796795f76ea89f1775d3fabb32f7899098b97779 | |
parent | 08de89b7915afaba00164f2a972290b86aa27e6d [diff] |
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 <axel.lin@ingics.com> Signed-off-by: Chris Ball <cjb@laptop.org>