ASoC: wm8978: Use devm_regmap_init_i2c()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 26 Nov 2012 11:49:45 +0000 (17:19 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Dec 2012 04:07:28 +0000 (13:07 +0900)
commitad2c175b8d625188766e4cecf8911cda208e4931
tree6d326b6ad79cd02f6f75e2ccdc34b2c4d2a6607a
parent978545e7b1a9d114eccd291dd0caf1d437b49f24
ASoC: wm8978: 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/wm8978.c