diff options
| author | 2025-10-10 13:43:59 -0700 | |
|---|---|---|
| committer | 2025-10-19 18:56:14 -0700 | |
| commit | ab0fd09d25e1d706e1ffc240f5cf66dcc89eeb49 (patch) | |
| tree | 3cd9560dab250b630969cfd0776b25d2747ed654 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | hwmon: (pmbus/max34440) Update adpm12160 coeff due to latest FW (diff) | |
| download | wireguard-linux-ab0fd09d25e1d706e1ffc240f5cf66dcc89eeb49.tar.xz wireguard-linux-ab0fd09d25e1d706e1ffc240f5cf66dcc89eeb49.zip | |
hwmon: (gpd-fan) Fix return value when platform_get_resource() fails
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@oracle.com>
Link: https://lore.kernel.org/r/20251010204359.94300-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
