diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 18:21:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-06 21:29:19 -0400 |
commit | 49d70c4856acfce943fab35fc199b3074961313f (patch) | |
tree | 7c8ab8e552fe05a5f6619f04fb2a8b0277911667 /drivers/net/jme.h | |
parent | f417f5e4ba79a08e992c79a4bb84c8a8c5062017 (diff) |
drivers/net/jme: Use pr_<level>
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Convert jeprintk to pr_err
Remove jeprintk macro define
Remove periods from end of logging messages
Coalesce format strings
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/jme.h')
-rw-r--r-- | drivers/net/jme.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/jme.h b/drivers/net/jme.h index 07ad3a457185..1360f68861b8 100644 --- a/drivers/net/jme.h +++ b/drivers/net/jme.h | |||
@@ -41,9 +41,6 @@ | |||
41 | NETIF_MSG_TX_ERR | \ | 41 | NETIF_MSG_TX_ERR | \ |
42 | NETIF_MSG_HW) | 42 | NETIF_MSG_HW) |
43 | 43 | ||
44 | #define jeprintk(pdev, fmt, args...) \ | ||
45 | printk(KERN_ERR PFX fmt, ## args) | ||
46 | |||
47 | #ifdef TX_DEBUG | 44 | #ifdef TX_DEBUG |
48 | #define tx_dbg(priv, fmt, args...) \ | 45 | #define tx_dbg(priv, fmt, args...) \ |
49 | printk(KERN_DEBUG "%s: " fmt, (priv)->dev->name, ##args) | 46 | printk(KERN_DEBUG "%s: " fmt, (priv)->dev->name, ##args) |