Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1e90af2 authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown
Browse files

ASoC: dapm: Use dev_warn for debugfs warning message



Remove printk(KERN_WARNING) and use dev_warn() instead.

Signed-off-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 30307634
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1667,7 +1667,7 @@ void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
	dapm->debugfs_dapm = debugfs_create_dir("dapm", parent);
	dapm->debugfs_dapm = debugfs_create_dir("dapm", parent);


	if (!dapm->debugfs_dapm) {
	if (!dapm->debugfs_dapm) {
		printk(KERN_WARNING
		dev_warn(dapm->dev,
		       "Failed to create DAPM debugfs directory\n");
		       "Failed to create DAPM debugfs directory\n");
		return;
		return;
	}
	}