diff options
| author | 2015-07-09 23:51:31 +0200 | |
|---|---|---|
| committer | 2015-08-12 22:16:02 +0100 | |
| commit | 7c7a9eeaa335df03d692ad65e0767020ad1be374 (patch) | |
| tree | 8cdbccc583152ac8bd2e6689b78362539480e7a4 /kernel/debug/debug_core.h | |
| parent | iio:adc:berlin2-adc: coding style cleanup (diff) | |
iio:light:stk3310: add more error handling
Check for the following error cases:
* lower boundary for val in _write_event
* return value of regmap_(field_)read
* possible values for chan->type
* return value of stk3310_gpio_probe
Also add an error path in _probe to put the sensor back into stand-by mode
in case of serious errors.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'kernel/debug/debug_core.h')
0 files changed, 0 insertions, 0 deletions
