[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241219065855.1377069-1-yajun.deng@linux.dev>
Date: Thu, 19 Dec 2024 14:58:55 +0800
From: Yajun Deng <yajun.deng@...ux.dev>
To: andrew@...n.ch,
hkallweit1@...il.com,
linux@...linux.org.uk
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yajun Deng <yajun.deng@...ux.dev>
Subject: [PATCH net-next] net: mdio_bus: change the bus name to mdio
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@...ux.dev>
---
drivers/net/phy/mdio_bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.25.1
Powered by blists - more mailing lists