summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 05:35:25 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-02 05:35:25 +0100
commita275ddf7b5aea1b57d9892acdfe95aaf0c5069b0 (patch)
tree4f969d59ed8d12d85507b2eb2590c610587b725e /sound/soc
parentMerge remote-tracking branch 'asoc/topic/wm8955' into asoc-next (diff)
parentASoC: wm8960: Use devm_regmap_init_i2c() (diff)
downloadlinux-a275ddf7b5aea1b57d9892acdfe95aaf0c5069b0.tar.xz
linux-a275ddf7b5aea1b57d9892acdfe95aaf0c5069b0.zip
Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-next
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8960.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index f0f6f6601785..cf09cb625a7b 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -1040,7 +1040,7 @@ static __devinit int wm8960_i2c_probe(struct i2c_client *i2c,
if (wm8960 == NULL)
return -ENOMEM;
- wm8960->regmap = regmap_init_i2c(i2c, &wm8960_regmap);
+ wm8960->regmap = devm_regmap_init_i2c(i2c, &wm8960_regmap);
if (IS_ERR(wm8960->regmap))
return PTR_ERR(wm8960->regmap);