net: phy: move registering mdio_bus_class and mdio_bus_type to libphy

The MDIO consumer side shouldn't register class and bus_type.
Therefore move this to libphy.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/b15b378a-fda2-44b9-9d63-bf82919b71b2@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Heiner Kallweit 2026-03-09 18:04:46 +01:00 • committed by Jakub Kicinski
commit 25b23d8283
2 changed files with 13 additions and 23 deletions