ASoC: es8316: fix redundant codes of clock
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>
Sat, 7 Sep 2019 16:36:52 +0000 (01:36 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 09:50:21 +0000 (10:50 +0100)
commit0db0c62c88b84b135bbaf784499a08e536354a43
treed0adc5c377419313aaccebfbea523a13f180b702
parentf4df4e4042b045c6ddbaff878a17ae169fe68ba6
ASoC: es8316: fix redundant codes of clock

This patch removes redundant null checks for optional MCLK clock.
And fix DT binding document for changing clock property to optional
from required.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
Link: https://lore.kernel.org/r/20190907163653.9382-1-katsuhiro@katsuster.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/everest,es8316.txt
sound/soc/codecs/es8316.c