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)
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>

No differences found