]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: tidyup for CONFIG_DMI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Dec 2019 04:32:05 +0000 (13:32 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:43:16 +0000 (16:43 +0000)
commit9a287eb0104a69485edc4fc4b088505c69cac70d
treef4069e1bbeaa1c810bb16cd66046e0ea83aaace7
parent544d2f660098938a3b8d0c9cd3dd4b51fb6de8dc
ASoC: soc-core: tidyup for CONFIG_DMI

soc-core.c has 2 #ifdef CONFIG_DMI, but we can merge these.
OTOH, soc.h has dmi_longname, but it is needed if CONFIG_DMI was defined.
In other words, It is not needed if CONFIG_DMI was not defined.
This patch tidyup these.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87eexbbhyy.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c