drivers/net/usb: Use netif_<level> logging facilities
authorJoe Perches <joe@perches.com>
Wed, 17 Feb 2010 10:30:24 +0000 (10:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:35:41 +0000 (13:35 -0800)
commita475f603d23392f386e45cf377b17c30ed3bbb80
tree47e3377f1a1bf402f33dbddc4e14768e2a9881ec
parent60b86755929e1a7e9038c8d860a8491cfdf8d93a
drivers/net/usb: Use netif_<level> logging facilities

Convert from:
if (netif_msg_<foo>(priv))
dev_<level>(dev...
to
netif_<level>(priv, foo, dev...

Also convert a few:

if (i < REG_TIMEOUT) {
etc...
return ret;
       }
to
if (i >= REG_TIMEOUT)
goto fail;
etc...
return ret;

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
drivers/net/usb/net1080.c
drivers/net/usb/pegasus.c
drivers/net/usb/rndis_host.c
drivers/net/usb/smsc95xx.c
drivers/net/usb/usbnet.c