ASoC: Pass CODEC to snd_soc_register_dais()
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Mar 2014 16:41:46 +0000 (17:41 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 12:17:54 +0000 (12:17 +0000)
snd_soc_register_dais() looks up the CODEC that is registering the DAIs by
looping over all registered CODECs. This patch updates the code to
simply pass the CODEC that registers the DAIs to snd_soc_register_dais() thus
avoiding the lookup.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c

Simple merge