Adding devres APIs to various files in sound/soc/samsung saves us close to 150 lines of code.
The patches are based on next-20140519 and have been build tested.
Tushar Behera (4): ASoC: samsung: Use devm_snd_soc_register_card ASoC: samsung: Use devm_snd_soc_register_platform ASoC: samsung: Use devm_snd_soc_register_component ASoC: samsung: Add devm_clk_get to pcm.c
sound/soc/samsung/ac97.c | 9 ++------- sound/soc/samsung/bells.c | 16 +++------------- sound/soc/samsung/dma.c | 8 +------- sound/soc/samsung/dma.h | 1 - sound/soc/samsung/dmaengine.c | 13 ++++--------- sound/soc/samsung/goni_wm8994.c | 9 +++------ sound/soc/samsung/i2s.c | 2 -- sound/soc/samsung/idma.c | 9 +-------- sound/soc/samsung/littlemill.c | 18 +++--------------- sound/soc/samsung/lowland.c | 18 +++--------------- sound/soc/samsung/pcm.c | 17 ++++------------- sound/soc/samsung/s3c-i2s-v2.c | 2 +- sound/soc/samsung/s3c2412-i2s.c | 15 +-------------- sound/soc/samsung/s3c24xx-i2s.c | 19 +++---------------- sound/soc/samsung/smdk_wm8580pcm.c | 15 +++------------ sound/soc/samsung/smdk_wm8994pcm.c | 15 +++------------ sound/soc/samsung/spdif.c | 11 +++-------- sound/soc/samsung/speyside.c | 18 +++--------------- sound/soc/samsung/tobermory.c | 18 +++--------------- 19 files changed, 44 insertions(+), 189 deletions(-)