net: dsa: dsa_loop: Make dynamic debugging helpful
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 25 May 2018 03:52:14 +0000 (20:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 20:46:29 +0000 (16:46 -0400)
commite52cde71709348c0d67bf0f213b438fa4d6cf9a9
tree5c5e1dc5b23c715bc19d072b93bc984b6f14585f
parent910714f1fcf88f6873a1b33672b3f87207ed48a5
net: dsa: dsa_loop: Make dynamic debugging helpful

Remove redundant debug prints from phy_read/write since we can trace those
calls through trace events. Enhance dynamic debug prints to print arguments
which helps figuring how what is going on at the driver level with higher level
configuration interfaces.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/dsa_loop.c