Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327495
b: refs/heads/master
c: cd7cf78
h: refs/heads/master
i:
  327493: 45947af
  327491: c6f2f2c
  327487: ea26d1a
v: v3
  • Loading branch information
Sachin Kamat authored and Gustavo Padovan committed Aug 6, 2012
1 parent ae7efb6 commit 886e263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 4f8d81584964730b08753da34f1e3fb7981cf742
refs/heads/master: cd7cf78e9bef269ed482ad8ab572f197ae89af3c
3 changes: 1 addition & 2 deletions trunk/drivers/bluetooth/dtl1_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ static int dtl1_probe(struct pcmcia_device *link)
dtl1_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 @@ -569,7 +569,6 @@ static void dtl1_detach(struct pcmcia_device *link)

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

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

0 comments on commit 886e263

Please sign in to comment.