summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2016-01-20 23:01:19 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-21 01:09:18 (GMT)
commitf9ed89e17ee7d1f5f25615bb0080b9a3ff1bb5f0 (patch)
tree19848b78acc811cc7c9145d543900d9555e50050 /lib
parent90d6cd51af1aa275a302846b35b9638c870d2af5 (diff)
downloadlinux-f9ed89e17ee7d1f5f25615bb0080b9a3ff1bb5f0.tar.xz
iio: core: fix ptr_ret.cocci warnings
drivers/iio/industrialio-sw-trigger.c:169: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 Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Daniel Baluta <daniel.baluta@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions