ASoC: ak4535: Use devm_regmap_init_i2c()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:38 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Nov 2012 17:41:54 +0000 (17:41 +0000)
commit77d19b10a45504af3810681d33b9ebfdb3a57a35
treea0eac74aaf1add01c38cf393235548eb7a370a41
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17
ASoC: ak4535: 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/ak4535.c