]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: move registering mdio_bus_class and mdio_bus_type to libphy
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 9 Mar 2026 17:04:46 +0000 (18:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Mar 2026 19:23:02 +0000 (12:23 -0700)
commit25b23d82831870b8581abe6a24970ffd95675bc7
tree5f4f9ecc1e86bd508f931643322b7896828f76a3
parentb69ceb387aca23126421ed676a312576cc3e0aee
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>
drivers/net/phy/mdio_bus.c
drivers/net/phy/phy_device.c