Re: [PATCH] hwmon: gpd-fan: Fix return value when platform_get_resource() fails
From: Guenter Roeck
Date: Sun Oct 12 2025 - 13:50:12 EST
On Fri, Oct 10, 2025 at 01:43:59PM -0700, Harshit Mogalapalli wrote:
> When platform_get_resource() fails it returns NULL and not an error
> pointer, accordingly change the error handling.
>
> Fixes: 0ab88e239439 ("hwmon: add GPD devices sensor driver")
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
Applied.
Guenter