ASoC: don't use rtd->codec on soc_dev_attr_is_visible()

rtd->codec will be removed soon.
checking rtd->num_codecs is enough

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2017-12-05 04:20:42 +00:00 • committed by Mark Brown
commit 3b6eed8deb
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0