hwmon: (tmp102) Improve error handling
Use devm_add_action_or_reset() instead of devm_add_action(), and
check its return code.
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录
Use devm_add_action_or_reset() instead of devm_add_action(), and
check its return code.
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>