Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327492
b: refs/heads/master
c: fdefa11
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Gustavo Padovan committed Aug 6, 2012
1 parent c6f2f2c commit 06ae91a
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: 3a382772b51bbf55b23701746102bd75b9fe883f
refs/heads/master: fdefa118ebbcadad4adbaaab067be06a96a48e15
5 changes: 1 addition & 4 deletions trunk/drivers/bluetooth/btuart_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ static int btuart_probe(struct pcmcia_device *link)
btuart_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 @@ -583,10 +583,7 @@ static int btuart_probe(struct pcmcia_device *link)

static void btuart_detach(struct pcmcia_device *link)
{
btuart_info_t *info = link->priv;

btuart_release(link);
kfree(info);
}

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

0 comments on commit 06ae91a

Please sign in to comment.