ASoC: dapm: Use dev_warn for debugfs warning message
authorLiam Girdwood <lrg@ti.com>
Tue, 6 Mar 2012 18:13:25 +0000 (18:13 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Mar 2012 20:06:53 +0000 (20:06 +0000)
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>
sound/soc/soc-dapm.c

index a4d4aa1e6c496615f3b78890bcbb0aee9fa9ed8c..dcd11609f930ed2d0bca47b3d9b160b9045045d9 100644 (file)
@@ -1667,7 +1667,7 @@ void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
        dapm->debugfs_dapm = debugfs_create_dir("dapm", parent);
 
        if (!dapm->debugfs_dapm) {
-               printk(KERN_WARNING
+               dev_warn(dapm->dev,
                       "Failed to create DAPM debugfs directory\n");
                return;
        }