diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-03-18 09:02:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 17:22:43 +0100 |
commit | f6272ff8a5f42c614f4a338013f5323979121e0f (patch) | |
tree | 3234194eddb26577f3fa1c8e2ea720fe6c005a97 /lib/list_debug.c | |
parent | ea53bf77d147e7e560ac007fdaa30fb98c37c712 (diff) |
ASoC: Add snd_soc_kcontrol_platform() helper function
For platform controls snd_kcontrol_chip() currently returns a pointer to the
platform that registered the control. With the upcoming consolidation of
platform and CODEC controls this will change. Prepare for this by introducing
the snd_soc_kcontrol_platform() helper function that will hide the
implementation details of how the platform for a control can be obtained. This
will allow us to change this easily in the future.
The patch also updates all platforms to use this new helper function.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions