Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302234
b: refs/heads/master
c: 575f690
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 17, 2012
1 parent 42ee8d6 commit 85f211f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 98d8618af37728f6e18e84110ddb99987b47dd12
refs/heads/master: 575f690dc4973027ce7e93360678681d09f65fac
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/max8660.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static int __devinit max8660_probe(struct i2c_client *client,
return -EINVAL;
}

max8660 = kzalloc(sizeof(struct max8660) +
max8660 = devm_kzalloc(&client->dev, sizeof(struct max8660) +
sizeof(struct regulator_dev *) * MAX8660_V_END,
GFP_KERNEL);
if (!max8660)
Expand Down

0 comments on commit 85f211f

Please sign in to comment.