ASoC: Move DAPM debugfs directory creation to snd_soc_dapm_debugfs_init
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 30 Apr 2011 17:45:48 +0000 (19:45 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 May 2011 17:43:32 +0000 (18:43 +0100)
commit8eecaf62445e175572ffabaab090b471001c5a2c
tree00372372fd0eeb721537434a8377e654be462b82
parent0aaae527c71e6af571093d90474f37c8662008d5
ASoC: Move DAPM debugfs directory creation to snd_soc_dapm_debugfs_init

Move the creation of the DAPM debugfs directory to snd_soc_dapm_debugfs_init
instead of having the same duplicated code in both codec and card DAPM setup.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c