Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354632
b: refs/heads/master
c: 924d253
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Felipe Balbi committed Jan 10, 2013
1 parent b32b0e5 commit 93d16b5
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: d2aec37c3b7aa029ffb4ac5fa3d1ee3453d4d0a4
refs/heads/master: 924d2532ab1897b034fa5477aea661732b91d748
3 changes: 1 addition & 2 deletions trunk/drivers/usb/gadget/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
for (i = 0; i < ARRAY_SIZE(hsudc->supplies); i++)
hsudc->supplies[i].supply = s3c_hsudc_supply_names[i];

ret = regulator_bulk_get(dev, ARRAY_SIZE(hsudc->supplies),
ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(hsudc->supplies),
hsudc->supplies);
if (ret != 0) {
dev_err(dev, "failed to request supplies: %d\n", ret);
Expand Down Expand Up @@ -1367,7 +1367,6 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
if (!IS_ERR_OR_NULL(hsudc->transceiver))
usb_put_phy(hsudc->transceiver);

regulator_bulk_free(ARRAY_SIZE(hsudc->supplies), hsudc->supplies);
err_supplies:
return ret;
}
Expand Down

0 comments on commit 93d16b5

Please sign in to comment.