mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
clk: rockchip: Fix error pointer check after rockchip_clk_register_gate_link()
[ Upstream commita8d722f039] Replace NULL check with IS_ERR_OR_NULL() check after calling rockchip_clk_register_gate_link() since this function returns error pointers (ERR_PTR). Fixes:c62fa612cf("clk: rockchip: implement linked gate clock support") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://patch.msgid.link/20250805030358.3665878-1-linmq006@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0b45cddb73
commit
0533f1cdb3
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue