smsc: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Wed, 6 Nov 2013 07:57:17 +0000 (15:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2013 08:01:59 +0000 (03:01 -0500)
commitc1fcbaa57a9fe6337b2ab718255d3f2d157efc1c
treefa855a3983a42367cccc0ae26bfa7c707fac70ad
parentf9bddcdf1fbbbab4996e079c5ea614baa1803b47
smsc: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

This patch fixes coccinelle error regarding usage of IS_ERR and
PTR_ERR instead of PTR_ERR_OR_ZERO.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc9194.c