ASoC: simple-card: simplify code
authorJean-Francois Moine <moinejf@free.fr>
Wed, 15 Jan 2014 15:51:56 +0000 (16:51 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:30 +0000 (11:13 +0100)
commit1172d156d9ff798eb86d7db2d002a6d97e1093fd
tree01cfd92218b1bffd4f977eeb93a79fb4a47c880e
parenta9c1e9c887f31405255ea57e6281a9c9afb61623
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