Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364490
b: refs/heads/master
c: 1929081
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Mar 30, 2013
1 parent b9985fe commit 8ea509e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: bb36668d5fe784600621d8fdce80f7c280f37a8a
refs/heads/master: 19290816c5fa3f289465d24bfbac9d669cc2f061
8 changes: 3 additions & 5 deletions trunk/drivers/usb/chipidea/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,9 @@ static int ci_hdrc_probe(struct platform_device *pdev)
return -ENODEV;
}

base = devm_request_and_ioremap(dev, res);
if (!base) {
dev_err(dev, "can't request and ioremap resource\n");
return -ENOMEM;
}
base = devm_ioremap_resource(dev, res);
if (IS_ERR(base))
return PTR_ERR(base);

ci = devm_kzalloc(dev, sizeof(*ci), GFP_KERNEL);
if (!ci) {
Expand Down

0 comments on commit 8ea509e

Please sign in to comment.