From: Fengguang Wu Date: Tue, 17 Sep 2013 13:43:42 +0000 (-0700) Subject: hwmon: (nct6775) fix coccinelle warnings X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c09bd8d896f8dcce14d0f032cb449a00a3e3141;p=pandora-kernel.git hwmon: (nct6775) fix coccinelle warnings drivers/hwmon/nct6775.c:3866: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-diff-tree failed