]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8960: Use devm_regmap_init_i2c()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:43 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Dec 2012 04:09:51 +0000 (13:09 +0900)
commit301d185cf38a9dbd0aae3f29b67757c271f559d1
treeb9882d351466c8cc9c03e8f26f0edfc5947aa753
parent45ed87e9c2a9b490d42109c600852f2af060ba42
ASoC: wm8960: Use devm_regmap_init_i2c()

devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler. There was no explicit
regmap_exit call in this function which was probably a bug.

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