Fengguang Wu
f9ed89e17e
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>
2016-01-20 17:09:18 -08:00
..
2015-12-19 16:45:42 +00:00
2015-12-26 17:05:25 -08:00
2015-11-05 13:15:12 -08:00
2015-10-25 13:55:32 +00:00
2015-12-12 15:07:38 +00:00
2015-12-05 17:28:31 +00:00
2015-11-18 13:15:50 -08:00
2015-12-26 17:03:33 -08:00
2015-11-05 13:15:12 -08:00
2015-12-01 09:13:29 -08:00
2015-12-12 12:14:37 +00:00
2015-11-18 13:15:50 -08:00
2015-12-01 09:13:29 -08:00
2015-12-26 17:05:25 -08:00
2015-12-01 09:13:29 -08:00
2015-05-17 09:10:25 +01:00
2015-09-30 18:20:53 +01:00
2015-11-05 13:15:12 -08:00
2015-12-26 17:03:33 -08:00
2015-10-11 10:21:19 +01:00
2015-12-03 18:19:27 +00:00
2014-12-12 12:28:31 +00:00
2015-12-13 19:23:01 -08:00
2015-12-05 16:25:30 +00:00
2016-01-16 11:17:22 -08:00
2015-08-12 19:26:39 +01:00
2016-01-20 17:09:18 -08:00
2015-08-27 20:47:09 +01:00
2015-08-27 20:47:09 +01:00
2015-12-12 17:23:37 +00:00
2015-12-12 12:14:37 +00:00
2015-12-12 12:14:37 +00:00