From: Liam Girdwood Date: Tue, 6 Mar 2012 18:13:25 +0000 (+0000) Subject: ASoC: dapm: Use dev_warn for debugfs warning message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f1e90af2b55ee13a3ed5ee1b9229d0edefeff27c;p=mv-sheeva.git ASoC: dapm: Use dev_warn for debugfs warning message Remove printk(KERN_WARNING) and use dev_warn() instead. Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index a4d4aa1e6c4..dcd11609f93 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, 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; }