]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: wm8731: Remove unnecessary NULL check before clk_prepare_enable/clk_dis...
authorChen Ni <nichen@iscas.ac.cn>
Mon, 26 Jan 2026 07:35:28 +0000 (15:35 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Jan 2026 21:22:49 +0000 (21:22 +0000)
commit87ee3f05bfe2f5955c2c77ae26a1be236fd615a5
tree8fe826fb840255e8b51bf77c78b93fb41ad06e0b
parentf80bee70b1938f904d0b12783044d5eebcc6879b
ASoC: codecs: wm8731: 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 wm8731->mclk here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260126073528.1826406-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8731.c