ASoC: simple-card-utils: add asoc_simple_card_of_parse_widgets()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 16 Jun 2017 01:38:50 +0000 (01:38 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Jun 2017 16:58:39 +0000 (17:58 +0100)
commitb31f11d036e689ba9e60d581ffe8e032a6305da9
treee64f774ea0df322524f3daf7a8448629ff1ca7a8
parent9fb9b2f236f05168a6138e62c82124a2f5eaf320
ASoC: simple-card-utils: add asoc_simple_card_of_parse_widgets()

Current simple card drivers are parsing widgets on each own driver
(only simple-card at this point, but will be supported on all drivers)
Encapsulation is one of simple card util's purpose.
Let's add asoc_simple_card_of_parse_widgets for it.

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