ASoC: DAPM - Use dev_err for debugfs error message.
PATCH 1/1 ASoC: DAPM - Use dev_err for debugfs error message.
Remove printk(KERN_ERR) and use dev_err() instead.
Signed-off-by Liam Girdwood <[email protected]>
--- sound/soc/soc-dapm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +1 -1
@@ -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_err (dapm->dev,"Failed to create DAPM debugfs directory\n" );return ; }
Signature · 1 line
1.7.5.4
Quoted 2 lines · Liam Girdwood
Remove
printk(KERN_ERR)and usedev_err()instead.
Ignore - Wrong version.