summaryrefslogtreecommitdiff
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-06 02:52:10 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-06 23:57:20 +0400
commit2e79cb303010d5d2b7810c11bc5d1f09a8500405 (patch)
treea9b60e33e1b7a90512fbf6eff3a663309827193c /drivers/cdrom
parent9d2c881afd41c18a67fb04c4386bb6812898cbf3 (diff)
downloadlinux-2e79cb303010d5d2b7810c11bc5d1f09a8500405.tar.xz
net: of_mdio: factor PHY registration from of_mdiobus_register
Since commit 779d835e ("net: of_mdio: scan mdiobus for PHYs without reg property") we have two foreach loops which do pretty much the same thing. Factor the PHY device registration in a function helper: of_mdiobus_register_phy() which takes care of the details and allows for future PHY specific extensions. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions