]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: mt8365: remove unnecessary NULL check before clk_disable_unprepare()
authorChen Ni <nichen@iscas.ac.cn>
Wed, 12 Mar 2025 03:26:00 +0000 (11:26 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 16 Mar 2025 23:33:37 +0000 (23:33 +0000)
commitf37ab219a3336ef787ce4babd20510f060f6f48d
tree0f4e9779821304a8fd61c71f72735fc51777b9f6
parent1458fae110c85d98d356496e4eb120f6de0e3a7e
ASoC: mt8365: 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 clk here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250312032600.1235158-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8365/mt8365-afe-clk.c