aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/avm/avm_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hardware/avm/avm_cs.c')
-rw-r--r--drivers/isdn/hardware/avm/avm_cs.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c
index 2a2b03ff096b..f3889bdc8e43 100644
--- a/drivers/isdn/hardware/avm/avm_cs.c
+++ b/drivers/isdn/hardware/avm/avm_cs.c
@@ -367,16 +367,8 @@ found_port:
367 367
368static void avmcs_release(dev_link_t *link) 368static void avmcs_release(dev_link_t *link)
369{ 369{
370 b1pcmcia_delcard(link->io.BasePort1, link->irq.AssignedIRQ); 370 b1pcmcia_delcard(link->io.BasePort1, link->irq.AssignedIRQ);
371 371 pcmcia_disable_device(link->handle);
372 /* Unlink the device chain */
373 link->dev = NULL;
374
375 /* Don't bother checking to see if these succeed or not */
376 pcmcia_release_configuration(link->handle);
377 pcmcia_release_io(link->handle, &link->io);
378 pcmcia_release_irq(link->handle, &link->irq);
379 link->state &= ~DEV_CONFIG;
380} /* avmcs_release */ 372} /* avmcs_release */
381 373
382static int avmcs_suspend(struct pcmcia_device *dev) 374static int avmcs_suspend(struct pcmcia_device *dev)