net: mdio: Move mdiobus_scan() within file
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Jan 2023 10:01:35 +0000 (11:01 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 Jan 2023 15:23:19 +0000 (16:23 +0100)
commit81d874e7c84e16427cbe9f2bb03e0dc2684e44cf
tree040ce6ba7aea8ec6be10ad372cbfc1fec284c68e
parentc84f433ef5f85f76b10f7d7c08a07080e6162ab5
net: mdio: Move mdiobus_scan() within file

No functional change, just place it earlier in preparation for some
refactoring.

While at it, correct the comment format and one typo.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/mdio_bus.c