git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22a0fd
)
hwmon: (emc2103) Fix return value
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 11 Sep 2013 04:19:48 +0000
(09:49 +0530)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 11 Sep 2013 20:01:31 +0000
(13:01 -0700)
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>
No differences found