]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: fixed: remove usage of a faux device
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 13 Aug 2025 19:18:03 +0000 (21:18 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 19:27:00 +0000 (12:27 -0700)
commitd0f110773d776f919f93ba2e7dc254f80a7297b2
tree3774304f9d0e4c78db28bb7728c57ba9c6a5843d
parent7de0eebbb4c3bb44c296f66679ad37480139dc6e
net: phy: fixed: remove usage of a faux device

A struct mii_bus doesn't need a parent, so we can simplify the code and
remove using a faux device. Only difference is the following in sysfs
under /sys/class/mdio_bus:

old: fixed-0 -> '../../devices/faux/Fixed MDIO bus/mdio_bus/fixed-0'
new: fixed-0 -> ../../devices/virtual/mdio_bus/fixed-0

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/e9426bb9-f228-4b99-bc09-a80a958b5a93@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/fixed_phy.c