Tag: b0c6ce24911fcb64715de9569f0f7b4f54d1d045

net: fec: Remove unneeded use of IS_ERR_VALUE() macro

Author: Fabio Estevam <fabio.estevam@freescale.com> 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 Signed-off-by: David S. Miller — drivers/net/ethernet/freescale/fec_main.c | 6 +++— 1 file changed, 3 …

Continue reading