OSDN Git Service

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)
commit8a6a6a38f86885982891197840e7b8eccad5ef50
treef4069e1bbeaa1c810bb16cd66046e0ea83aaace7
parent29d9fc7acacbb985daa1b4c662c619dc959a11b0
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