ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Mon, 11 Mar 2013 21:48:07 +0000 (21:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 10:57:22 +0000 (06:57 -0400)
commit3ffd880d3c6c63cdf575764da9e903fc3249937d
tree7b29b2653922f92ee70414a33c2f8d33879cfb51
parentb6bb4dfcb1803765e7d12a9807a8d4650545199a
ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR

This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase
readability.

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Acked-by: <Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/atarilance.c
drivers/net/ethernet/amd/mvme147.c
drivers/net/ethernet/amd/ni65.c
drivers/net/ethernet/amd/sun3lance.c