[PATCH] pcmcia: convert remaining users of pcmcia_release_io and _irq
[linux-3.10.git] / drivers / scsi / pcmcia / qlogic_stub.c
index 70269fc..1e27059 100644 (file)
@@ -288,12 +288,7 @@ out:
 
 cs_failed:
        cs_error(link->handle, last_fn, last_ret);
-       link->dev = NULL;
-
-       pcmcia_release_configuration(link->handle);
-       pcmcia_release_io(link->handle, &link->io);
-       pcmcia_release_irq(link->handle, &link->irq);
-       link->state &= ~DEV_CONFIG;
+       pcmcia_disable_device(link->handle);
        return;
 
 }                              /* qlogic_config */