ASoC: soc.h: makes snd_soc_of_parse_audio_prefix() inline
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 26 Nov 2018 01:21:22 +0000 (01:21 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Nov 2018 12:23:22 +0000 (12:23 +0000)
commit2708bccf9c6f142c3ef5a27f15d34febe751ce4c
treeb01ac4faad644765f6b202586bb1cb10fbf94dde
parent7121779fec95ce106ed3a7948d265809bd4e849b
ASoC: soc.h: makes snd_soc_of_parse_audio_prefix() inline

commit 3b7103562c03c ("ASoC: soc-core: add
snd_soc_of_parse_node_prefix()") maked snd_soc_of_parse_audio_prefix()
as #define. But it'd be better to make this a static inline rather than
a #define. It helps with error messages and type safety.
This patch makes it inline.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h