diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2025-08-05 07:03:58 +0400 |
|---|---|---|
| committer | Heiko Stuebner <heiko@sntech.de> | 2026-01-09 21:16:20 +0100 |
| commit | a8d722f03923b1c6166d39482c6df8f017e185d9 (patch) | |
| tree | 2d7162b39722db8a1ad30ef2fd3ba20137fa5cd5 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff) | |
clk: rockchip: Fix error pointer check after rockchip_clk_register_gate_link()
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: c62fa612cfa6 ("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>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
