]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac386735b9219e6c8424c4b6d8e441becec82f78
tree5c5e1dc5b23c715bc19d072b93bc984b6f14585f
parent4b1206ab89c0cd89f3afa18ef9b53c0693c0c58f
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