diff options
Diffstat (limited to 'drivers/bluetooth/btuart_cs.c')
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index 7b4bff4cfa2d..8cd54bb199f9 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -768,13 +768,7 @@ static void btuart_release(dev_link_t *link) | |||
768 | if (link->state & DEV_PRESENT) | 768 | if (link->state & DEV_PRESENT) |
769 | btuart_close(info); | 769 | btuart_close(info); |
770 | 770 | ||
771 | link->dev = NULL; | 771 | pcmcia_disable_device(link->handle); |
772 | |||
773 | pcmcia_release_configuration(link->handle); | ||
774 | pcmcia_release_io(link->handle, &link->io); | ||
775 | pcmcia_release_irq(link->handle, &link->irq); | ||
776 | |||
777 | link->state &= ~DEV_CONFIG; | ||
778 | } | 772 | } |
779 | 773 | ||
780 | static int btuart_suspend(struct pcmcia_device *dev) | 774 | static int btuart_suspend(struct pcmcia_device *dev) |