Skip to content

Commit

Permalink
drivers/net: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed May 18, 2009
1 parent 6bc5046 commit 7290383
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions drivers/net/tc35815.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit 7290383

Please sign in to comment.