Skip to content

Commit 6376ab0

Browse files
plbossarttiwai
authored andcommitted
ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg
The module and function information can be added with 'modprobe foo dyndbg=+pmf' Suggested-by: Greg KH <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 33fa35d commit 6376ab0

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

sound/hda/intel-nhlt.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt)
5555

5656
/* find max number of channels based on format_configuration */
5757
if (fmt_configs->fmt_count) {
58-
dev_dbg(dev, "%s: found %d format definitions\n",
59-
__func__, fmt_configs->fmt_count);
58+
dev_dbg(dev, "found %d format definitions\n",
59+
fmt_configs->fmt_count);
6060

6161
for (i = 0; i < fmt_configs->fmt_count; i++) {
6262
struct wav_fmt_ext *fmt_ext;
@@ -66,9 +66,9 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt)
6666
if (fmt_ext->fmt.channels > max_ch)
6767
max_ch = fmt_ext->fmt.channels;
6868
}
69-
dev_dbg(dev, "%s: max channels found %d\n", __func__, max_ch);
69+
dev_dbg(dev, "max channels found %d\n", max_ch);
7070
} else {
71-
dev_dbg(dev, "%s: No format information found\n", __func__);
71+
dev_dbg(dev, "No format information found\n");
7272
}
7373

7474
if (cfg->device_config.config_type != NHLT_CONFIG_TYPE_MIC_ARRAY) {
@@ -95,17 +95,16 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt)
9595
}
9696

9797
if (dmic_geo > 0) {
98-
dev_dbg(dev, "%s: Array with %d dmics\n", __func__, dmic_geo);
98+
dev_dbg(dev, "Array with %d dmics\n", dmic_geo);
9999
}
100100
if (max_ch > dmic_geo) {
101-
dev_dbg(dev, "%s: max channels %d exceed dmic number %d\n",
102-
__func__, max_ch, dmic_geo);
101+
dev_dbg(dev, "max channels %d exceed dmic number %d\n",
102+
max_ch, dmic_geo);
103103
}
104104
}
105105
}
106106

107-
dev_dbg(dev, "%s: dmic number %d max_ch %d\n",
108-
__func__, dmic_geo, max_ch);
107+
dev_dbg(dev, "dmic number %d max_ch %d\n", dmic_geo, max_ch);
109108

110109
return dmic_geo;
111110
}

0 commit comments

Comments
 (0)