/* megasas_release_mfi - Reverses the FW initialization @intance: Adapter soft state  */
static void megasas_release_mfi(struct megasas_instance *instance)
/* megasas_release_mfi - Reverses the FW initialization @intance: Adapter soft state  */
static void megasas_release_mfi(struct megasas_instance *instance)
{
	u32 reply_q_sz = sizeof(u32) * (instance->max_fw_cmds + 1);
	pci_free_consistent(instance->pdev, reply_q_sz,
			    instance->reply_queue, instance->reply_queue_h);
	megasas_free_cmds(instance);
	iounmap(instance->reg_set);
	pci_release_selected_regions(instance->pdev,
		pci_select_bars(instance->pdev, IORESOURCE_MEM));
}