ASoC: Move name_prefix from CODEC to component
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 16 Jun 2014 16:13:01 +0000 (18:13 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 21 Jun 2014 20:03:22 +0000 (21:03 +0100)
commit94f99c875c109e51decf0d8c25ec2c946db20c56
tree29bdcf055b85588e64553eec9353bf47919100c0
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: Move name_prefix from CODEC to component

Move the name_prefix from the CODEC struct to the component struct. This will
eventually allow to specify prefixes for all types of components. It is also
necessary to make the DAPM code component type independent (i.e. a DAPM context
does not need to know whether it belongs to a CODEC or a platform or something
else).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c