/* Decrease reference count of bus operator and free it if it is the last reference.  */
static void mmc_bus_put(struct mmc_host *host)
/* Decrease reference count of bus operator and free it if it is the last reference.  */
static void mmc_bus_put(struct mmc_host *host)
{
	unsigned long flags;
	spin_lock_irqsave(&host->lock, flags);
	host->bus_refs--;
	if ((host->bus_refs == 0) && host->bus_ops)
		__mmc_release_bus(host);
	spin_unlock_irqrestore(&host->lock, flags);
}