]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (lm75) Improve error handling
authorGuenter Roeck <linux@roeck-us.net>
Mon, 25 Jul 2016 21:56:00 +0000 (14:56 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 31 Jul 2016 22:02:51 +0000 (15:02 -0700)
commit90e2b545ce78516e727ba641e9f2b0703a17da1a
tree200bdfd4695481acc2f1de856ab126571f3a1f88
parentc5fcf01bcfceb245da575cc5bfa4391642649f2d
hwmon: (lm75) Improve error handling

Use devm_add_action_or_reset() instead of devm_add_action(), and
check its return value.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm75.c