diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-07-25 23:53:23 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-08-01 00:02:51 +0200 |
commit | c5fcf01bcfceb245da575cc5bfa4391642649f2d (patch) | |
tree | 063486384b5e7a77d4b6db06fa9f8e05f85ae85e /drivers/hwmon/vt1211.c | |
parent | hwmon: (lm90) Add missing assignment (diff) | |
download | linux-c5fcf01bcfceb245da575cc5bfa4391642649f2d.tar.xz linux-c5fcf01bcfceb245da575cc5bfa4391642649f2d.zip |
hwmon: (lm90) Improve error handling
Replace devm_add_action() with devm_add_action_or_reset(),
and check its return value.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/vt1211.c')
0 files changed, 0 insertions, 0 deletions