mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-11 17:17:32 +00:00
ASoC: dapm: Use dev_warn for debugfs warning message
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>
This commit is contained in:
parent
303076342b
commit
f1e90af2b5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue