ASoC: ti: davinci-i2s: remove unnecessary NULL check before clk_disable_unprepare()
authorChen Ni <nichen@iscas.ac.cn>
Wed, 12 Mar 2025 03:35:09 +0000 (11:35 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 16 Mar 2025 23:33:36 +0000 (23:33 +0000)
commit1458fae110c85d98d356496e4eb120f6de0e3a7e
treeb36fe7b9932ddc2127ae67232e5a9ffa0d4f3653
parentd9a06936ee9e64952e161849059f6cf096b33e4a
ASoC: ti: davinci-i2s: remove unnecessary NULL check before clk_disable_unprepare()

clk_disable_unprepare() already checks NULL by using IS_ERR_OR_NULL.
Remove unneeded NULL check for dev->ext_clk here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250312033509.1235268-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-i2s.c