Skip to content

Commit

Permalink
ASoC: dapm: Use dev_warn for debugfs warning message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Liam Girdwood authored and Mark Brown committed Mar 6, 2012
1 parent 3030763 commit f1e90af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f1e90af

Please sign in to comment.