diff options
author | Julia Lawall | 2016-10-22 22:41:32 +0200 |
---|---|---|
committer | Jonathan Cameron | 2016-10-23 20:34:27 +0200 |
commit | 30df2d1879ff65af7b269ee94e9c7fc276b54105 (patch) | |
tree | f05716eb07d35de4d10d2a7cdf523eb16e1890fc /drivers/iio/pressure | |
parent | staging:iio:ad7606: fix ptr_ret.cocci warnings (diff) | |
download | kernel-qcow2-linux-30df2d1879ff65af7b269ee94e9c7fc276b54105.tar.gz kernel-qcow2-linux-30df2d1879ff65af7b269ee94e9c7fc276b54105.tar.xz kernel-qcow2-linux-30df2d1879ff65af7b269ee94e9c7fc276b54105.zip |
iio: dac: mcp4725: fix odd_ptr_err.cocci warnings
PTR_ERR should access the value just tested by IS_ERR
Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci
CC: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions