[PATCH next] clk: mmp: pxa1908: Fix IS_ERR() vs NULL check in probe()
Duje Mihanović
dujemihanovic32 at gmail.com
Fri Sep 26 11:37:30 PDT 2025
On Friday, 26 September 2025 06:03:21 Central European Summer Time Dan Carpenter wrote:
> The devm_auxiliary_device_create() function returns NULL on error, it
> never returns error pointers. Change the IS_ERR() check to a NULL check.
>
> Fixes: a787ab591c38 ("clk: mmp: pxa1908: Instantiate power driver through auxiliary bus")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
Acked-by: Duje Mihanović <duje at dujemihanovic.xyz>
Regards,
--
Duje
More information about the linux-arm-kernel
mailing list