aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-03 04:31:47 -0500
committerMark Brown <broonie@kernel.org>2014-11-03 07:17:07 -0500
commitdd63a9c2952ed142c64fd68c1a74d0d6fcac586f (patch)
tree0ed27e83cc1863e1832292e95f894c1c4e6ebc8f /include/sound
parent7077148fb50a120d20a50516a332ed6eb9233c16 (diff)
ASoC: Remove snd_soc_platform_driver suspend/resume callbacks
Those are unused and new drivers should use device driver suspend/resume. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index ad47e9660b22..edbb07ba4cb5 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -857,8 +857,6 @@ struct snd_soc_platform_driver {
857 857
858 int (*probe)(struct snd_soc_platform *); 858 int (*probe)(struct snd_soc_platform *);
859 int (*remove)(struct snd_soc_platform *); 859 int (*remove)(struct snd_soc_platform *);
860 int (*suspend)(struct snd_soc_dai *dai);
861 int (*resume)(struct snd_soc_dai *dai);
862 struct snd_soc_component_driver component_driver; 860 struct snd_soc_component_driver component_driver;
863 861
864 /* pcm creation and destruction */ 862 /* pcm creation and destruction */
@@ -891,8 +889,6 @@ struct snd_soc_platform {
891 struct device *dev; 889 struct device *dev;
892 const struct snd_soc_platform_driver *driver; 890 const struct snd_soc_platform_driver *driver;
893 891
894 unsigned int suspended:1; /* platform is suspended */
895
896 struct list_head list; 892 struct list_head list;
897 893
898 struct snd_soc_component component; 894 struct snd_soc_component component;