[PATCH 2/2] ASoC: soc-core.c: share code for snd_soc_of_get_dai_link_cpus/codecs()