Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290848
b: refs/heads/master
c: 5a0b815
h: refs/heads/master
v: v3
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent 092cb0a commit b7319ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5fd5baee39fe941bd73973c63990d153184e3a1
refs/heads/master: 5a0b8159e1c65ce25382d3f5189b6a462422f065
20 changes: 3 additions & 17 deletions trunk/drivers/bluetooth/dtl1_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ typedef struct dtl1_info_t {


static int dtl1_config(struct pcmcia_device *link);
static void dtl1_release(struct pcmcia_device *link);

static void dtl1_detach(struct pcmcia_device *p_dev);


/* Transmit states */
Expand Down Expand Up @@ -579,8 +576,8 @@ static void dtl1_detach(struct pcmcia_device *link)
{
dtl1_info_t *info = link->priv;

dtl1_release(link);

dtl1_close(info);
pcmcia_disable_device(link);
kfree(info);
}

Expand Down Expand Up @@ -619,21 +616,10 @@ static int dtl1_config(struct pcmcia_device *link)
return 0;

failed:
dtl1_release(link);
dtl1_detach(link);
return -ENODEV;
}


static void dtl1_release(struct pcmcia_device *link)
{
dtl1_info_t *info = link->priv;

dtl1_close(info);

pcmcia_disable_device(link);
}


static const struct pcmcia_device_id dtl1_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-1", 0xe1bfdd64, 0xe168480d),
PCMCIA_DEVICE_PROD_ID12("Nokia Mobile Phones", "DTL-4", 0xe1bfdd64, 0x9102bc82),
Expand Down

0 comments on commit b7319ed

Please sign in to comment.