Try to remove a target and all its devices
void scsi_remove_target(struct device * dev);
dev
generic starget or parent of generic stargets to be removed
This is slightly racy. It is possible that if the user requests the addition of another device then the target won't be removed.