]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm7xxx: only show PHY revision once
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 11 Nov 2014 22:55:10 +0000 (14:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:58:06 +0000 (13:58 -0500)
commita30ed23dd4cc1f1cb5192fc4b0578923c1e74c7f
treea52dd723a7acf285e91ec33b9937a1d6461b52b3
parentf5dbc779cdba14dd6b00d8e532a04a6a434d2178
net: phy: bcm7xxx: only show PHY revision once

bcm7xxx_28nm_config_init() can be called as frequently as needed by the
PHY library upon suspend/resume cycles and interface bring up/down, just
print the PHY revision once and for all in order not to spam kernel
logs.

Fixes: d13ba50fca56 ("net: phy: bcm7xxx: utilize PHY revision in config_init")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c