summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2017-08-07 09:08:52 -0300
committerMark Brown <broonie@kernel.org>2017-08-07 16:47:21 +0100
commit353c64dd19ebc99786c3578ea0444e1b5b1bb172 (patch)
treeba59b760527801cfdd124c0b14d7b308857440dc /include/sound/soc.h
parenta7e1149b64091ac87dfb18b177abb63ba4cbbd3d (diff)
downloadlinux-353c64dd19ebc99786c3578ea0444e1b5b1bb172.tar.bz2
ASoC: soc-core: Remove unneeded dentry member from snd_soc_codec
There is no need to have the *debugfs_reg dentry member as part of the snd_soc_codec structure as its only usage is inside soc_init_codec_debugfs(). Use a local dentry variable instead. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-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 10b71beb9f13..aad3f14966f1 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -903,10 +903,6 @@ struct snd_soc_codec {
/* component */
struct snd_soc_component component;
-
-#ifdef CONFIG_DEBUG_FS
- struct dentry *debugfs_reg;
-#endif
};
/* codec driver */