ASoC: Remove unused debugfs_dapm field from snd_soc_{platform,codec} struct
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 31 Aug 2013 09:02:18 +0000 (11:02 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 11:48:23 +0000 (12:48 +0100)
The DAPM context struct has its own field where it stores the pointer to the
DAPM debugfs entry. The debugfs_dapm field in the snd_soc_platform and
snd_soc_codec structs are completely unused and can be removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h

index 254bcda40695a81374bde3423208e2b03c5f6867..c65cc7d703532dd294ed7b93260a382f763e1213 100644 (file)
@@ -719,7 +719,6 @@ struct snd_soc_codec {
 #ifdef CONFIG_DEBUG_FS
        struct dentry *debugfs_codec_root;
        struct dentry *debugfs_reg;
-       struct dentry *debugfs_dapm;
 #endif
 };
 
@@ -844,7 +843,6 @@ struct snd_soc_platform {
 
 #ifdef CONFIG_DEBUG_FS
        struct dentry *debugfs_platform_root;
-       struct dentry *debugfs_dapm;
 #endif
 };