drivers/net: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(
authorJoe Perches <joe@perches.com>
Fri, 15 May 2009 07:59:42 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 04:03:43 +0000 (21:03 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tc35815.c

index 0ce2db6ce2bf17b546b0c82be39db5ac84305344..d737f6b8f876900a8c772d45beb8ea977de5546a 100644 (file)
@@ -688,14 +688,11 @@ static void tc_handle_link_change(struct net_device *dev)
 
        if (status_change && netif_msg_link(lp)) {
                phy_print_status(phydev);
-#ifdef DEBUG
-               printk(KERN_DEBUG
-                      "%s: MII BMCR %04x BMSR %04x LPA %04x\n",
-                      dev->name,
-                      phy_read(phydev, MII_BMCR),
-                      phy_read(phydev, MII_BMSR),
-                      phy_read(phydev, MII_LPA));
-#endif
+               pr_debug("%s: MII BMCR %04x BMSR %04x LPA %04x\n",
+                        dev->name,
+                        phy_read(phydev, MII_BMCR),
+                        phy_read(phydev, MII_BMSR),
+                        phy_read(phydev, MII_LPA));
        }
 }