commit | b083668c93e5bf889e6ec4761540be1accc3f1b1 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Feb 05 11:40:41 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 07 22:38:40 2015 -0800 |
tree | 17a7a133339559dd076e6c0a73da9ac9caff9513 | |
parent | 3c09e92fb6b94b7597442c1f232a260c35b30698 [diff] |
net: dsa: bcm_sf2: move GPHY enabling to its own function Move the code that touches the single GPHY register from bcm_sf2_sw_resume() to a separate function since we will have to enable/disable the GPHY from different locations, and we want the code to be self-contained. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>