diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-11 06:19:48 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-09-11 22:01:31 +0200 |
commit | 1a3abbd0b9a16e40fd4718f99896c437a193c0a1 (patch) | |
tree | 860969b3af4d7b561caa11a46ce51b1c06589dc9 /block/Kconfig.iosched | |
parent | Merge tag 'for-v3.12' of git://git.infradead.org/battery-2.6 (diff) | |
download | linux-1a3abbd0b9a16e40fd4718f99896c437a193c0a1.tar.xz linux-1a3abbd0b9a16e40fd4718f99896c437a193c0a1.zip |
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>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions