ASoC: wm8962: Use devm_regmap_init_i2c()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:44 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Dec 2012 04:06:44 +0000 (13:06 +0900)
commitb439c6d0d1c1f9272d3445b5496be687d7411cf5
treee15cd22993ac12c4487f16375a717b12bde2ab20
parent92437cbb1bbcc4fd04a00d3d734ee7006e183a03
ASoC: wm8962: Use devm_regmap_init_i2c()

devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8962.c