hwmon: fix error return code in abituguru_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 May 2013 06:01:43 +0000 (14:01 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 13 May 2013 15:07:13 +0000 (08:07 -0700)
commitecacb0b17c08fae89f65468727f0e4b8e91da4e1
tree8e95244a88436aa2dec0e32c37f21a9f44b3ca25
parent159c8cddd9259e9379f37f0a69ddcbb01c4e8b77
hwmon: fix error return code in abituguru_probe()

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>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abituguru.c