static void release_everything(struct rts51x_chip *chip) { rts51x_release_resources(chip); dissociate_dev(chip); scsi_host_put(rts51x_to_host(chip)); }
static void release_everything(struct us_data *us) { //--------------------------- pr_info("18 release_everything\n"); usb_stor_release_resources(us); dissociate_dev(us); /* Drop our reference to the host; the SCSI core will free it * (and "us" along with it) when the refcount becomes 0. */ scsi_host_put(us_to_host(us)); }