Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72903831 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

drivers/net: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(

parent 6bc5046e
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -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",
		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));
#endif
	}
}