[PATCH] pcmcia: convert remaining users of pcmcia_release_io and _irq
[linux-2.6.git] / sound / pcmcia / vx / vxpocket.c
index 92788744bc48309f7b6e5c86628fc3031869d2ef..8093e5044956e0d6068169d628ddc4bef3907922 100644 (file)
@@ -272,10 +272,7 @@ static void vxpocket_config(dev_link_t *link)
 cs_failed:
        cs_error(link->handle, last_fn, last_ret);
 failed:
-       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);
        kfree(parse);
 }