Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: amd: acp-da7219-max98357a: tidyup acp_soc_is_rltk_max()

acp-da7219-max98357a() user exists behind it. No need to has pre-define.
Remove it. And it is local function, add static.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87h5pmvxfm.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
3f4aa994 3666dc0c

+1 -3
+1 -3
sound/soc/amd/acp-da7219-max98357a.c
··· 47 47 static struct clk *rt5682_dai_wclk; 48 48 static struct clk *rt5682_dai_bclk; 49 49 50 - void *acp_soc_is_rltk_max(struct device *dev); 51 - 52 50 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) 53 51 { 54 52 int ret; ··· 701 703 .num_controls = ARRAY_SIZE(cz_mc_controls), 702 704 }; 703 705 704 - void *acp_soc_is_rltk_max(struct device *dev) 706 + static void *acp_soc_is_rltk_max(struct device *dev) 705 707 { 706 708 const struct acpi_device_id *match; 707 709