]> Pileus Git - ~andy/linux/commit
USB: remove dbg() usage in USB networking drivers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2012 09:46:14 +0000 (09:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2012 21:53:14 +0000 (17:53 -0400)
commit49ae25b03c8622e381e4e54d066cd4ee2dbcc3e2
tree858136fb869d6077abcaca9abb05ef50146dc098
parent4308fc58dceda40fac8a8d9c05b7cfba0a6bbed3
USB: remove dbg() usage in USB networking drivers

The dbg() USB macro is so old, it predates me.  The USB networking drivers are
the last hold-out using this macro, and we want to get rid of it, so replace
the usage of it with the proper netdev_dbg() or dev_dbg() (depending on the
context) calls.

Some places we end up using a local variable for the debug call, so also
convert the other existing dev_* calls to use it as well, to save tiny amounts
of code space.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix_devices.c
drivers/net/usb/catc.c
drivers/net/usb/gl620a.c
drivers/net/usb/kaweth.c
drivers/net/usb/net1080.c
drivers/net/usb/rtl8150.c