commit | ca65b492c7a265b220f763fd68bf87391213248f | [log] [tgz] |
---|---|---|
author | Jean-Francois Moine <moinejf@free.fr> | Wed Jan 15 16:51:52 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Mon Feb 03 12:45:33 2014 +0000 |
tree | a513108682067fca454a69d466d09b4f25b2b812 | |
parent | 520084729267ac8df1651ad2f118a1d4a631a10a [diff] |
ASoC: simple-card: simplify code In the non-DT sequence, the platform data is copied as a whole to the dynamic card info and the same pointer 'cinfo' is used to copy the platform information to the card. Use 'priv' as the pointer to the dynamic card info and copy only the useful information from the platform data. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org>