net: fec: Remove unneeded use of IS_ERR_VALUE() macro
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 12 Aug 2015 15:10:23 +0000 (12:10 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 23:45:46 +0000 (16:45 -0700)
commitb0c6ce24911fcb64715de9569f0f7b4f54d1d045
treebdbebab3a7b4d41081d50400b49c730cb11823c4
parent140d8b335a9beb234fd0ed9a15aa6a47f47fd771
net: fec: Remove unneeded use of IS_ERR_VALUE() macro

There is no need to use the IS_ERR_VALUE() macro for checking
the return value from pm_runtime_* functions.

Just do a simple negative test instead.

The semantic patch that makes this change is available
in scripts/coccinelle/api/pm_runtime.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c