ASoC: mediatek: remove unnecessary check of clk_disable_unprepare

Because clk_disable_unprepare already checked NULL clock
parameter, so the additional checks are unnecessary, just remove them.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220602071809.278134-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Minghao Chi 2022-06-02 07:18:09 +00:00 • committed by Mark Brown
commit 12ba5ceb4a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0