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.stricted.de/?a=commitdiff_plain;h=f1e90af2b55ee13a3ed5ee1b9229d0edefeff27c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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, 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; }