summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
authorGuenter Roeck2019-06-07 22:19:12 +0200
committerGuenter Roeck2019-06-24 03:32:34 +0200
commitb9bb92e1d1be921e91d8b469dc1261ea5ac71991 (patch)
tree5e1dd447b0b10d10a7926065ea43216e640134e2 /drivers/hwmon/w83l785ts.c
parentLinux 5.2-rc6 (diff)
downloadkernel-qcow2-linux-b9bb92e1d1be921e91d8b469dc1261ea5ac71991.tar.gz
kernel-qcow2-linux-b9bb92e1d1be921e91d8b469dc1261ea5ac71991.tar.xz
kernel-qcow2-linux-b9bb92e1d1be921e91d8b469dc1261ea5ac71991.zip
hwmon: (gpio-fan) Check return value from devm_add_action_or_reset
devm_add_action_or_reset() can fail due to a memory allocation failure. Check for it and return the error if that happens. Fixes: 9534784550ab ("hwmon: (gpio-fan) Use devm_thermal_of_cooling_device_register") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
0 files changed, 0 insertions, 0 deletions