ASoC: Improve the debugfs hierarchy
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 2 Oct 2009 06:17:37 +0000 (09:17 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 2 Oct 2009 10:24:21 +0000 (11:24 +0100)
commitce3e3737a3361e0c7030f8598eec36bb82050de6
treed685ea6de1475e3e1b80a662e62fda3f76898d89
parent88439ac793934a47f47ad285656b63d09f5937c8
ASoC: Improve the debugfs hierarchy

Change the way the debugfs entries are created:
If the codec->dev is valid, than use:
debugfs/asoc/{codec->name}.{dev_name(codec->dev)}/

if the codec->dev is NULL:
debugfs/asoc/{codec->name}/

as root for the debugfs entries.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c