commit | dbdef9ba693a5ac7d92368cef7d436b3093e9f4e | [log] [tgz] |
---|---|---|
author | kbuild test robot <fengguang.wu@intel.com> | Sun Oct 23 03:12:42 2016 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Oct 23 19:34:27 2016 +0100 |
tree | bc9922589c9cfb249a70bcf92e68b7de77d711e4 | |
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 <lars@metafoo.de> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>