Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354592
b: refs/heads/master
c: 8df4ce7
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Felipe Balbi committed Jan 17, 2013
1 parent 4e118d1 commit 606b384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 99d17cfa3bbc6f4edb175f819af59c6b9e245e82
refs/heads/master: 8df4ce75189807783c4bb4e4337e0f89283e6ca3
4 changes: 1 addition & 3 deletions trunk/drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,15 +532,13 @@ static int omap2430_probe(struct platform_device *pdev)
if (!pdata) {
dev_err(&pdev->dev,
"failed to allocate musb platfrom data\n");
ret = -ENOMEM;
goto err2;
}

data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL);
if (!data) {
dev_err(&pdev->dev,
"failed to allocate musb board data\n");
ret = -ENOMEM;
"failed to allocate musb board data\n");
goto err2;
}

Expand Down

0 comments on commit 606b384

Please sign in to comment.