Re: [PATCH net-next] net: fec: Remove unneeded use of IS_ERR_VALUE() macro

2015-08-12 Thread David Miller
From: Fabio Estevam Date: Wed, 12 Aug 2015 12:10:23 -0300 > From: Fabio Estevam > > 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 availa

[PATCH net-next] net: fec: Remove unneeded use of IS_ERR_VALUE() macro

2015-08-12 Thread Fabio Estevam
From: Fabio Estevam 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 Esteva