ASoC: soc-core: remove dai->driver NULL check
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Sep 2018 06:50:27 +0000 (15:50 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 12 Sep 2018 10:12:27 +0000 (11:12 +0100)
commita7c439d6128de2cbc087ae7524b47f613ff8bc6c
treeaea188e5bbc8c257d19cb0be99cb0e8f5cbe5f43
parente894efef9ac7c10b7727798dcc711cccf07569f9
ASoC: soc-core: remove dai->driver NULL check

It is strange if it has "dai" but doesn't have "dai->driver".
And more over "dai->driver->xxx" is used everywhere without
"dai->driver" pointer NULL checking.
It got Oops already if "dai->driver" was NULL.
Let's remove un-needed "dai->driver" NULL check.

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