hwmon: (it87) Simplify error return in it87_device_add
Return directly on errors if there is no cleanup necessary. Don't create an error message on memory allocation errors. Tested-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录