Re: [PATCH next] clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check in probe
From: Stephen Boyd
Date: Tue Dec 03 2024 - 16:16:09 EST
Quoting Dan Carpenter (2024-11-20 09:18:38)
> The devm_kzalloc() function returns NULL on error, not error pointers.
> Fix the check.
>
> Fixes: 51ce55919273 ("clk: mmp: Add Marvell PXA1908 APBC driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
Applied to clk-next