diff options
| author | Lars-Peter Clausen <[email protected]> | 2013-03-04 19:30:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2013-03-17 20:16:40 +0000 |
| commit | 135f06465d6842fdf1381f2610e27ff43e81f24d (patch) | |
| tree | 9f2b4b2cd4b1ca841dc650a45b93b790b78d6664 /include/linux/debugobjects.h | |
| parent | 6c23811ecb24e077081d04c7af511d94746419ab (diff) | |
iio:ad7923: Return error if we didn't get the expected result
Instead of leaving 'val' uninitialized return an error if the result's address
did not match that of the channel we were trying to read.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Cc: Patrick Vasseur <[email protected]>
Cc: Christophe Leroy <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions