aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-03-06 13:13:25 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-06 15:06:53 -0500
commitf1e90af2b55ee13a3ed5ee1b9229d0edefeff27c (patch)
tree2f3e70c7ee66828115665f1b8252bbead5fafa0c /sound
parent303076342b8a30aa98f8a53b539155d0b81ff0c3 (diff)
ASoC: dapm: Use dev_warn for debugfs warning message
Remove printk(KERN_WARNING) and use dev_warn() instead. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index a4d4aa1e6c49..dcd11609f930 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1667,7 +1667,7 @@ void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
1667 dapm->debugfs_dapm = debugfs_create_dir("dapm", parent); 1667 dapm->debugfs_dapm = debugfs_create_dir("dapm", parent);
1668 1668
1669 if (!dapm->debugfs_dapm) { 1669 if (!dapm->debugfs_dapm) {
1670 printk(KERN_WARNING 1670 dev_warn(dapm->dev,
1671 "Failed to create DAPM debugfs directory\n"); 1671 "Failed to create DAPM debugfs directory\n");
1672 return; 1672 return;
1673 } 1673 }