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
..
2016-01-13 19:15:14 -08:00
2015-12-29 15:32:24 -05:00
2016-01-15 13:18:47 -08:00
2016-01-15 13:18:47 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 10:15:21 -08:00
2016-01-01 18:31:34 +01:00
2016-01-13 10:23:36 -08:00
2016-01-20 17:09:18 -08:00
2016-01-19 09:35:06 -08:00
2016-01-12 12:17:28 +01:00
2016-01-15 12:28:00 -08:00
2016-01-18 11:58:31 -08:00
2016-01-20 17:09:18 -08:00
2016-01-13 11:25:54 -08:00
2016-01-14 11:13:28 -08:00
2016-01-03 16:32:59 -08:00
2016-01-17 12:05:31 -08:00
2015-12-26 17:01:18 -08:00
2016-01-19 17:54:15 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-15 13:18:47 -08:00
2016-01-18 11:58:31 -08:00
2016-01-18 16:44:24 -08:00