if(atomic_read(&extracting) != 0) { return -EBUSY; }
cpci_hp_unregister_controller(struct cpci_hp_controller *old_controller){	int status = 0;	if(controller) {		if(!thread_finished) {			cpci_stop_thread();		}		if(controller->irq) {			free_irq(controller->irq, controller->dev_id);		}		controller = NULL;	} else {		status = -ENODEV;	}	return status;}