[PATCH v2] ASoC: sun8i-codec: Remove unnecessary NULL check before clk_prepare_enable/clk_disable_unprepare
Chen-Yu Tsai
wens at csie.org
Sun Apr 6 21:51:21 PDT 2025
On Tue, Mar 25, 2025 at 5:28 PM Chen Ni <nichen at iscas.ac.cn> wrote:
>
> 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 at iscas.ac.cn>
Reviewed-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list