]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sun8i-codec: Remove unnecessary NULL check before clk_prepare_enable/clk_disabl...
authorChen Ni <nichen@iscas.ac.cn>
Tue, 25 Mar 2025 09:26:40 +0000 (17:26 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:25:13 +0000 (23:25 +0100)
commitad20e1f877b6e0c523154d2c6533b836d4d05260
treeb3b3e805820595888086d874594ff2e2dfe1ca3e
parentd0e1a832ce60354da2159d4d2b1fa324843622d5
ASoC: sun8i-codec: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare

clk_prepare_enable() and clk_disable_unprepare() already checked
NULL clock parameter.Remove unneeded NULL check for clk here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250325092640.996802-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c