ASoC: dapm: Refactor the code in snd_soc_dapm_new_pcm
authoranish kumar <yesanishhere@gmail.com>
Wed, 20 Sep 2017 08:28:34 +0000 (01:28 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 20 Sep 2017 11:38:50 +0000 (12:38 +0100)
commit38b8e6f092fd71eee56a064487be335226b0a54d
treed55772614960396d8c1f2966f4dfb85757cea3d0
parente5af4f9fb3d405e6145f0d019ce11a97a8930915
ASoC: dapm: Refactor the code in snd_soc_dapm_new_pcm

refactor snd_soc_dapm_new_pcm to reduce the size of
this function to facilitate further refactoring.

Signed-off-by: anish kumar <yesanishhere@gmail.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c