/* acpiphp_disable_slot - power off slot @slot: ACPI PHP slot  */
int acpiphp_disable_slot(struct acpiphp_slot *slot)
/* acpiphp_disable_slot - power off slot @slot: ACPI PHP slot  */
int acpiphp_disable_slot(struct acpiphp_slot *slot)
{
	int retval = 0;
	mutex_lock(&slot->crit_sect);
	retval = disable_device(slot);
	if (retval)
		goto err_exit;
	retval = power_off_slot(slot);
	if (retval)
		goto err_exit;
 err_exit:
	mutex_unlock(&slot->crit_sect);
	return retval;
}