summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2014-01-15 16:51:56 +0100
committerMark Brown <broonie@linaro.org>2014-02-03 12:45:33 +0000
commit45fce59496cbabd46761e6980c05c82d94d08eaa (patch)
treee5da21552f494e04ee2b7d6d59782ed51a6a1957 /include/sound
parentca65b492c7a265b220f763fd68bf87391213248f (diff)
downloadtalos-op-linux-45fce59496cbabd46761e6980c05c82d94d08eaa.tar.gz
talos-op-linux-45fce59496cbabd46761e6980c05c82d94d08eaa.zip
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/simple_card.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h
index 6c74527d4926..e1ac996c8feb 100644
--- a/include/sound/simple_card.h
+++ b/include/sound/simple_card.h
@@ -29,10 +29,6 @@ struct asoc_simple_card_info {
unsigned int daifmt;
struct asoc_simple_dai cpu_dai;
struct asoc_simple_dai codec_dai;
-
- /* used in simple-card.c */
- struct snd_soc_dai_link snd_link;
- struct snd_soc_card snd_card;
};
#endif /* __SIMPLE_CARD_H */
OpenPOWER on IntegriCloud