ASoC: simple-scu-card: add new simple_priv_to_card() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 15 Mar 2017 04:44:16 +0000 (04:44 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 16 Mar 2017 14:10:37 +0000 (14:10 +0000)
commitd27f3b4a2d81e873de4d11899e510a1a507da8e3
treecd34fd7fd19db206ef0efde2e96cef201c4c425c
parent5be509576cf634ad384025f50fc4fcb941d14256
ASoC: simple-scu-card: add new simple_priv_to_card() macro

Current simple card driver is directly calling priv->snd_card
everywhere, but it makes unreadable code.
Let's use simple_priv_to_card() macro for it

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