Re: [PATCH next] clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() bug in probe

Duje Mihanović
2024-11-29T17:15:15Z

On Wednesday 20 November 2024 18:18:44 Central European Standard Time Dan
Carpenter wrote:
> The devm_kzalloc() function doesn't return error pointers, it returns
> NULL on error. Update the check to match.
>
> Fixes: a89233dbd4df ("clk: mmp: Add Marvell PXA1908 APBCP driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---

Acked-by: Duje Mihanović <duje.mihanovic@skole.hr>

Regards,
--
Duje