commit | c5e6f5fa0ad8e0d66cdb459a6193afc4f0ee8387 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Mon Nov 26 17:19:43 2012 +0530 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Dec 02 13:09:51 2012 +0900 |
tree | b9882d351466c8cc9c03e8f26f0edfc5947aa753 | |
parent | 9489e9dcae718d5fde988e4a684a0f55b5f94d17 [diff] |
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>