bnx2x: Use pr_fmt and message logging cleanups
authorJoe Perches <joe@perches.com>
Sun, 14 Aug 2011 12:16:21 +0000 (12:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2011 22:47:23 +0000 (15:47 -0700)
commitf1deab502206ab7e4470334b7738383c76e4ddd9
tree0284270dc050f2ffd60646d25e815d16357dbe37
parent94f05b0f60de32e6efa19310bd142f1519e2abdb
bnx2x: Use pr_fmt and message logging cleanups

Add pr_fmt(fmt) KBUILD_MODNAME ": " to prefix messages with "bnx2x: ".
Remove #define DP_LEVEL and use pr_notice.
Repeating KERN_<LEVEL> isn't necessary in multi-line printks.
printk macro neatening, use fmt and ##__VA_ARGS__.
Coalesce long formats.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c