ASoC: simple-card: Simplify code
authorJean-Francois Moine <moinejf@free.fr>
Sat, 15 Mar 2014 10:32:42 +0000 (11:32 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 17 Mar 2014 16:24:56 +0000 (16:24 +0000)
commitc56c4d74c6f96d0ff605d8948e127099cf5e6681
treef97eb7b5ab6679ffd9ca0a665d7d42c2c8b4ea78
parente512e001dafa54e5ac7244416e340750a4356b41
ASoC: simple-card: Simplify code

The global DAI format is used only in the function
asoc_simple_card_parse_of(). So, move it from the private data
to the stack.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Reviewed-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c