Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342947
b: refs/heads/master
c: 59b4cd4
h: refs/heads/master
i:
  342945: 42e3a54
  342943: 56b989e
v: v3
  • Loading branch information
Mark Brown committed Dec 9, 2012
1 parent 6526412 commit fd5c1c7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 753ad46e868e50ac34af514948fe227e87896d1e
refs/heads/master: 59b4cd42f2c96f5c9bf3947f28e3d2ac0148fbcc
4 changes: 2 additions & 2 deletions trunk/sound/soc/codecs/wm8741.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ static int wm8741_i2c_probe(struct i2c_client *i2c,
return ret;
}

wm8741->regmap = regmap_init_i2c(i2c, &wm8741_regmap);
wm8741->regmap = devm_regmap_init_i2c(i2c, &wm8741_regmap);
if (IS_ERR(wm8741->regmap)) {
ret = PTR_ERR(wm8741->regmap);
dev_err(&i2c->dev, "Failed to init regmap: %d\n", ret);
Expand Down Expand Up @@ -582,7 +582,7 @@ static int __devinit wm8741_spi_probe(struct spi_device *spi)
return ret;
}

wm8741->regmap = regmap_init_spi(spi, &wm8741_regmap);
wm8741->regmap = devm_regmap_init_spi(spi, &wm8741_regmap);
if (IS_ERR(wm8741->regmap)) {
ret = PTR_ERR(wm8741->regmap);
dev_err(&spi->dev, "Failed to init regmap: %d\n", ret);
Expand Down

0 comments on commit fd5c1c7

Please sign in to comment.