ASoC: ml26124: Convert to devm_regmap_init_i2c
authorAxel Lin <axel.lin@gmail.com>
Wed, 13 Jun 2012 06:36:07 +0000 (14:36 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Jun 2012 09:27:27 +0000 (17:27 +0800)
commit8994a5e1d2443511e677d62e97d7de3718b71325
tree837cea5b2a2229e9e949985e2649e35774cf9b7c
parent85f243912b99b053ce0624c30609f5d8fd4445d2
ASoC: ml26124: Convert to devm_regmap_init_i2c

This fixes a leak if snd_soc_register_codec fails.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ml26124.c