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

The platform data structure contains information which is used only by
the driver, and the driver allocates platform information fields which
are of no use.
Move the driver specific data to a new private structure and cleanup
the platform data structure.

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