mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
ASoC: Intel: boards: hda: remove use of __func__ in dev_dbg
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>
This commit is contained in:
parent
b3ec3eb2ba
commit
46bc6bc3a6
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user