ASoC: Intel: boards: hda: remove use of __func__ in dev_dbg
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 21:53:50 +0000 (16:53 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jun 2022 09:46:48 +0000 (10:46 +0100)
The module and function information can be added with
'modprobe foo dyndbg=+pmf'

Suggested-by: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220616215351.135643-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/hda_dsp_common.c
sound/soc/intel/boards/skl_hda_dsp_generic.c

index 5c31ddc..83c7dfb 100644 (file)
@@ -62,8 +62,8 @@ int hda_dsp_hdmi_build_controls(struct snd_soc_card *card,
                        hpcm->pcm = spcm;
                        hpcm->device = spcm->device;
                        dev_dbg(card->dev,
-                               "%s: mapping HDMI converter %d to PCM %d (%p)\n",
-                               __func__, i, hpcm->device, spcm);
+                               "mapping HDMI converter %d to PCM %d (%p)\n",
+                               i, hpcm->device, spcm);
                } else {
                        hpcm->pcm = NULL;
                        hpcm->device = SNDRV_PCM_INVALID_DEVICE;
index f4b4eec..81144ef 100644 (file)
@@ -75,7 +75,7 @@ skl_hda_add_dai_link(struct snd_soc_card *card, struct snd_soc_dai_link *link)
        struct skl_hda_private *ctx = snd_soc_card_get_drvdata(card);
        int ret = 0;
 
-       dev_dbg(card->dev, "%s: dai link name - %s\n", __func__, link->name);
+       dev_dbg(card->dev, "dai link name - %s\n", link->name);
        link->platforms->name = ctx->platform_name;
        link->nonatomic = 1;
 
@@ -203,7 +203,7 @@ static int skl_hda_audio_probe(struct platform_device *pdev)
        struct skl_hda_private *ctx;
        int ret;
 
-       dev_dbg(&pdev->dev, "%s: entry\n", __func__);
+       dev_dbg(&pdev->dev, "entry\n");
 
        ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNEL);
        if (!ctx)