net: phy: Log only PHY state transitions
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Fri, 28 Jul 2017 11:18:30 +0000 (13:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 23:21:31 +0000 (16:21 -0700)
commit6a95befc8d0346d6cb3b4646c761e8b42e66a4df
treef1cd4591138e102447549aa2d9d54877926b8ed1
parent6e7291752ba717dba51f136d62a114635a944e56
net: phy: Log only PHY state transitions

In the current code, old and new PHY states are always logged.
>From now on, log only PHY state transitions.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c