projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3030763
)
ASoC: dapm: Use dev_warn for debugfs warning message
author
Liam Girdwood
<lrg@ti.com>
Tue, 6 Mar 2012 18:13:25 +0000
(18:13 +0000)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 6 Mar 2012 20:06:53 +0000
(20:06 +0000)
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>
sound/soc/soc-dapm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index a4d4aa1e6c496615f3b78890bcbb0aee9fa9ed8c..dcd11609f930ed2d0bca47b3d9b160b9045045d9 100644
(file)
--- 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;
}