]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sta32x: Remove unnecessary NULL check before clk_disable_unprepare()
authorChen Ni <nichen@iscas.ac.cn>
Tue, 25 Mar 2025 03:22:26 +0000 (11:22 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:25:20 +0000 (23:25 +0100)
commitea61f39b38bdbb7c77ba2c70e130acdb808c8d68
tree1fae115b2c88bb03b25e53d00fe7fe2344b6239a
parent5533518834a3acc75919e8db671f6a8539e64f42
ASoC: sta32x: 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>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250325032226.603963-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sta32x.c