diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-11-08 09:05:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-19 22:22:04 (GMT) |
commit | 6dc973d4fd29860cf648a56510b8a14410d0451f (patch) | |
tree | 3b920ffa5fe4da092e3c99c3070e4c64622e8f44 /ipc | |
parent | 50d69b5184169caeb85e082f627200da9b0e1677 (diff) | |
download | linux-6dc973d4fd29860cf648a56510b8a14410d0451f.tar.xz |
iio: isl29018: fix to return error or 0 in isl29018_write_raw()
We had assigned the return value to 'ret' but ignored it when
return from isl29018_write_raw(), it's better to return 'ret'
instead of 0.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions