]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-component: Remove conditional definition of debugfs data members
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 30 Sep 2021 14:21:16 +0000 (15:21 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 1 Oct 2021 18:34:58 +0000 (19:34 +0100)
commitbbeb6ff5ab4bef692c8fe5829de313dfe268477c
tree5d632dd84e401da1cc7a4853a952a0dbdbb1cb58
parent7060f31433e3e76dc39d60ae664bae08556c533c
ASoC: soc-component: Remove conditional definition of debugfs data members

This simplification allows the use of the standard kernel pattern of
static inline dummy functions for debugfs code. Most systems will only
have a small number of snd_soc_components so the memory impact is
minimal.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Suggested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210930142116.528878-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h