]> git.karo-electronics.de Git - linux-beck.git/commit
net: cpmac: dynamic debug fixes
authorVarka Bhadram <varkab@cdac.in>
Thu, 10 Jul 2014 05:35:41 +0000 (11:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jul 2014 07:40:36 +0000 (00:40 -0700)
commitf160a2d0b524eeebd97a68e2fbb59fad4cdd3fee
tree1c2e40b80265c1090e6662509a8c8751bea33b10
parent8bcd5c6d513274f93d81584ad5b2d6b1841f63aa
net: cpmac: dynamic debug fixes

This patch does the following changes
1. convert printk(KERN_DEBUG.. to netdev_dbg() if we have net_device object
   or convert to dev_dbg() if we have device object.
2. convert printk(KERN_WARNING.. to netdev_warn() if we have net_device object
   or convert to dev_warn() if we have device object
3. convert printk() to pr_*

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpmac.c