]> 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)
commit9bf8716b92f51586d24c138ba20667fd12a2b4f5
tree5c5e1dc5b23c715bc19d072b93bc984b6f14585f
parentf47da3d8d1affff3c23af6b58b88bac2d1fc2713
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