diff options
| author | Matt Ranostay <[email protected]> | 2015-12-27 04:56:30 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-01-03 17:54:08 +0000 |
| commit | 9979e320b559264333a77c73131ae88cefca15e5 (patch) | |
| tree | 38591004a2cd55065a3ac635ddd031d475818cf8 /fs/btrfs/dev-replace.c | |
| parent | Merge tag 'iio-for-4.5c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic... (diff) | |
| download | kernel-9979e320b559264333a77c73131ae88cefca15e5.tar.gz kernel-9979e320b559264333a77c73131ae88cefca15e5.zip | |
iio: proximity: lidar: correct return value
lidar_i2c_xfer() function was never a non-positive value on error,
and this correct that with a -EIO return code.
Fixes: 366e65633cf4 ("iio: proximity: lidar: optimize i2c transactions")
Signed-off-by: Matt Ranostay <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
