commit | 1a3abbd0b9a16e40fd4718f99896c437a193c0a1 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Sep 11 09:49:48 2013 +0530 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Sep 11 13:01:31 2013 -0700 |
tree | 860969b3af4d7b561caa11a46ce51b1c06589dc9 | |
parent | a22a0fdba4191473581f86c9dd5361cf581521d3 [diff] |
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 <sachin.kamat@linaro.org> Cc: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>