Skip to content
Commit ff1acfd0 authored by Axel Lin's avatar Axel Lin Committed by Chris Ball
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 08de89b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment