| commit | 0e293f095529e998677b7e5f4893ad8aec01ea6f | [log] [tgz] |
|---|---|---|
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon May 13 14:01:43 2013 +0800 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 24 11:14:22 2013 -0700 |
| tree | 86ab5d68aa80a865e00c26d49b863cc704552c1a | |
| parent | 462e873c6461e26c6dc172fd5ee185896935598e [diff] |
hwmon: fix error return code in abituguru_probe() commit ecacb0b17c08fae89f65468727f0e4b8e91da4e1 upstream. Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>