summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorFabio Estevam2017-08-07 14:08:52 +0200
committerMark Brown2017-08-07 17:47:21 +0200
commit353c64dd19ebc99786c3578ea0444e1b5b1bb172 (patch)
treeba59b760527801cfdd124c0b14d7b308857440dc /include/sound/soc.h
parentASoC: remove cache_bypass from snd_soc_codec (diff)
downloadkernel-qcow2-linux-353c64dd19ebc99786c3578ea0444e1b5b1bb172.tar.gz
kernel-qcow2-linux-353c64dd19ebc99786c3578ea0444e1b5b1bb172.tar.xz
kernel-qcow2-linux-353c64dd19ebc99786c3578ea0444e1b5b1bb172.zip
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 */