Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361248
b: refs/heads/master
c: a400704
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Felipe Balbi committed Mar 4, 2013
1 parent 689fbb4 commit 2bc0931
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: 1dd03d8a510dae402096b194385a1373100450dc
refs/heads/master: a40070410329fb704aedf9451732ffb92a3fe39f
8 changes: 3 additions & 5 deletions trunk/drivers/usb/phy/samsung-usbphy.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,11 +787,9 @@ static int samsung_usbphy_probe(struct platform_device *pdev)
return -ENODEV;
}

phy_base = devm_request_and_ioremap(dev, phy_mem);
if (!phy_base) {
dev_err(dev, "%s: register mapping failed\n", __func__);
return -ENXIO;
}
phy_base = devm_ioremap_resource(dev, phy_mem);
if (IS_ERR(phy_base))
return PTR_ERR(phy_base);

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

0 comments on commit 2bc0931

Please sign in to comment.