Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292034
b: refs/heads/master
c: 0757b60
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and Mark Brown committed Mar 11, 2012
1 parent 138a4b1 commit aa7f27a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3bf6e90e476fb34ca47b6dda270f41d9cebcb1ac
refs/heads/master: 0757b6020f5aaa9f770068ca0396c0ea5cb0740d
3 changes: 3 additions & 0 deletions trunk/drivers/regulator/mc13783-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ static int __devinit mc13783_regulator_probe(struct platform_device *pdev)

dev_dbg(&pdev->dev, "%s id %d\n", __func__, pdev->id);

if (!pdata)
return -EINVAL;

priv = devm_kzalloc(&pdev->dev, sizeof(*priv) +
pdata->num_regulators * sizeof(priv->regulators[0]),
GFP_KERNEL);
Expand Down

0 comments on commit aa7f27a

Please sign in to comment.