ASoC: simple-card: simplify code
authorJean-Francois Moine <moinejf@free.fr>
Wed, 15 Jan 2014 15:51:37 +0000 (16:51 +0100)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:41 +0000 (09:21 +0900)
commit15c06e14b6f3eed5152d17773bbe571589498c0f
tree8a618b5b16a371d0d08f0c04b7358cddec55efcf
parent97e1eb218ea77b8230c91ed01cdd74b07b3ad1d7
ASoC: simple-card: simplify code

The DT values are copied to the non-DT structure before being moved to
the card structure.
Set directly the DT values in the card and move the non-DT copy to the
non-DT sequence.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 2bee991460a838ee3c8064a6d880c4e7bc41717a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/generic/simple-card.c