diff options
| author | kbuild test robot <[email protected]> | 2016-10-23 03:12:42 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-10-23 19:34:27 +0100 |
| commit | dbdef9ba693a5ac7d92368cef7d436b3093e9f4e (patch) | |
| tree | bc9922589c9cfb249a70bcf92e68b7de77d711e4 /include/linux | |
| parent | a84a6a8aa0f6e02dec63a2ff69946f80785e35b9 (diff) | |
staging:iio:ad7606: fix ptr_ret.cocci warnings
drivers/staging/iio/adc/ad7606.c:357:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
CC: Lars-Peter Clausen <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions