From: Sachin Kamat Date: Wed, 11 Sep 2013 04:19:48 +0000 (+0530) Subject: hwmon: (emc2103) Fix return value X-Git-Tag: v3.12-rc1~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a3abbd0b9a16e40fd4718f99896c437a193c0a1;p=pandora-kernel.git hwmon: (emc2103) Fix return value kstrtol() returns appropriate error values. Use those instead of hardcoding. Silences several sparse messages of following type: "why not propagate 'result' from kstrtol() instead of (-22)?" Signed-off-by: Sachin Kamat Cc: Steve Glendinning Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed