ASoC: soc-core: Remove unneeded dentry member from snd_soc_codec
authorFabio Estevam <festevam@gmail.com>
Mon, 7 Aug 2017 12:08:52 +0000 (09:08 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 15:47:21 +0000 (16:47 +0100)
commit353c64dd19ebc99786c3578ea0444e1b5b1bb172
treeba59b760527801cfdd124c0b14d7b308857440dc
parenta7e1149b64091ac87dfb18b177abb63ba4cbbd3d
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>
include/sound/soc.h
sound/soc/soc-core.c