Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 463422
b: refs/heads/master
c: 0463585
h: refs/heads/master
  • Loading branch information
Sachin Kamat authored and broonie committed Jun 27, 2014
1 parent eeba4e8 commit fffd000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 549f66e0286bb800e024d80582f9c95c6f4f5947
refs/heads/master: 0463585ce5186e617aa5a04fa9f3f27160810a21
4 changes: 1 addition & 3 deletions trunk/sound/soc/codecs/wm9090.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,10 +613,8 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
int ret;

wm9090 = devm_kzalloc(&i2c->dev, sizeof(*wm9090), GFP_KERNEL);
if (wm9090 == NULL) {
dev_err(&i2c->dev, "Can not allocate memory\n");
if (!wm9090)
return -ENOMEM;
}

wm9090->regmap = devm_regmap_init_i2c(i2c, &wm9090_regmap);
if (IS_ERR(wm9090->regmap)) {
Expand Down

0 comments on commit fffd000

Please sign in to comment.