Dan Williams 4258895814 libnvdimm: IS_ERR() usage cleanup
Prompted by commit 287980e49ffc "remove lots of IS_ERR_VALUE abuses", I
ran make coccicheck against drivers/nvdimm/ and found that:

	if (IS_ERR(x))
		return PTR_ERR(x);
	return 0;

...can be replaced with PTR_ERR_OR_ZERO().

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-06-17 16:23:23 -07:00
..
2016-06-17 16:23:23 -07:00
2016-06-17 16:23:23 -07:00
2016-05-20 22:02:57 -07:00
2015-06-24 21:24:10 -04:00
2016-05-20 22:02:57 -07:00
2016-05-20 22:02:57 -07:00
2016-05-20 22:02:56 -07:00