ASoC: topology: Consolidate how dtexts and dvalues are freed
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Mon, 17 Jun 2019 11:36:43 +0000 (13:36 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jun 2019 14:33:30 +0000 (15:33 +0100)
commit3cde818cd02b9602270092f6c06c727c70f84d1e
tree70afe79da44757ca51a1b02d2bcb974ccbcfcc8b
parent0f6ff78540bd1b4df1e0f17806b0ce2e1dff0d78
ASoC: topology: Consolidate how dtexts and dvalues are freed

Provide helper functions and use them to free dtexts and dvalues in
topology. This is followup cleanup after related changes in this area as
suggested in:
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-January/144761.html

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c