Message ID | 20241219065855.1377069-1-yajun.deng@linux.dev (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: mdio_bus: change the bus name to mdio | expand |
On Thu, Dec 19, 2024 at 02:58:55PM +0800, Yajun Deng wrote: > Since all directories under the /sys/bus are bus, we don't need to add a > bus suffix to mdio. > > Change the bus name to mdio. Please add an explanation to the commit message of how this is safe in terms of ABI. Andrew --- pw-bot: cr
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 7e2f10182c0c..20dd59208973 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c @@ -1425,7 +1425,7 @@ static const struct attribute_group *mdio_bus_dev_groups[] = { }; const struct bus_type mdio_bus_type = { - .name = "mdio_bus", + .name = "mdio", .dev_groups = mdio_bus_dev_groups, .match = mdio_bus_match, .uevent = mdio_uevent,
Since all directories under the /sys/bus are bus, we don't need to add a bus suffix to mdio. Change the bus name to mdio. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> --- drivers/net/phy/mdio_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)