8139too: use err.h macros
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 24 Nov 2008 22:47:01 +0000 (14:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 22:47:01 +0000 (14:47 -0800)
commit85920d43bd5ae8a96f434704438b57c0b8c31198
tree12e3e33b6856ff7dc2459d2fbd72781f9e65239b
parent3755810cebf7f9902b05c7ba9baeac0fc44881be
8139too: use err.h macros

Instead of using call by reference use the PTR_ERR macros to handle
return value with error case. Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/8139too.c