From: Guenter Roeck Date: Wed, 12 Feb 2014 05:34:21 +0000 (-0800) Subject: hwmon: (emc2103) Return error from i2c_smbus_read_byte_data X-Git-Tag: v3.15-rc1~145^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf3babf3f6e70723528bece564c57d38d534652;p=pandora-kernel.git hwmon: (emc2103) Return error from i2c_smbus_read_byte_data There is no reason to replace one error with another. smatch message: drivers/hwmon/emc2103.c:352 set_fan_div() info: why not propagate 'status' from i2c_smbus_read_byte_data() instead of (-5)? Reviewed-by: Jean Delvare Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed