From 31ab1ad70b25f4e19f6442e8f6d68025ba43b942 Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Tue, 17 Sep 2013 20:54:09 -0700 Subject: [PATCH] hwmon: (ds1621) fix coccinelle warnings drivers/hwmon/ds1621.c:381:1-3: WARNING: PTR_RET can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci CC: Guenter Roeck Signed-off-by: Fengguang Wu Signed-off-by: Guenter Roeck --- Reading git-format-patch failed