Skip to content
Commit 1aa4f028 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (tmp102) Improve error handling



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

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 90e2b545
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment