ASoC: davinci-vcif: Use devm_snd_soc_register_component
authorVaishali Thakkar <vthakkar1994@gmail.com>
Sat, 15 Aug 2015 02:31:55 +0000 (08:01 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2015 20:48:28 +0000 (13:48 -0700)
commit553de19a0e2f21809bc3864d40308864652521eb
tree1da873b776edce4400dba35525a25fd7bda89d88
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: davinci-vcif: Use devm_snd_soc_register_component

Use resource managed function devm_snd_soc_register_component for
component registration instead of snd_soc_register_component.

Also, remove davinci_vcif_remove as it is now redundant.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-vcif.c