/* Free the host once all references to it have been dropped.  */
void mmc_free_host(struct mmc_host *host)
/* Free the host once all references to it have been dropped.  */
void mmc_free_host(struct mmc_host *host)
{
	spin_lock(&mmc_host_lock);
	idr_remove(&mmc_host_idr, host->index);
	spin_unlock(&mmc_host_lock);
	put_device(&host->class_dev);
}