Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327489
b: refs/heads/master
c: 4f61cb1
h: refs/heads/master
i:
  327487: ea26d1a
v: v3
  • Loading branch information
Sachin Kamat authored and Gustavo Padovan committed Aug 6, 2012
1 parent 8a04495 commit 0d4f533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 704687ce17bf00f557f300e5bcf6c3bdd1f78226
refs/heads/master: 4f61cb184fd5d16d591303aacf8dd1e623d2137d
5 changes: 1 addition & 4 deletions trunk/drivers/bluetooth/bt3c_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ static int bt3c_probe(struct pcmcia_device *link)
bt3c_info_t *info;

/* Create new info device */
info = kzalloc(sizeof(*info), GFP_KERNEL);
info = devm_kzalloc(&link->dev, sizeof(*info), GFP_KERNEL);
if (!info)
return -ENOMEM;

Expand All @@ -654,10 +654,7 @@ static int bt3c_probe(struct pcmcia_device *link)

static void bt3c_detach(struct pcmcia_device *link)
{
bt3c_info_t *info = link->priv;

bt3c_release(link);
kfree(info);
}

static int bt3c_check_config(struct pcmcia_device *p_dev, void *priv_data)
Expand Down

0 comments on commit 0d4f533

Please sign in to comment.