OSDN Git Service

net: ethernet: ti: am65-cpsw: Update name of Serdes PHY
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Thu, 9 Mar 2023 07:36:12 +0000 (13:06 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Mar 2023 05:25:01 +0000 (21:25 -0800)
The bindings for the am65-cpsw driver use the name "serdes" to refer to
the Serdes PHY. Thus, update the name used for the Serdes PHY within the
am65_cpsw_init_serdes_phy() function from "serdes-phy" to "serdes".

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/am65-cpsw-nuss.c

index 2599682..4cfbc1c 100644 (file)
@@ -1466,7 +1466,7 @@ static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common)
 static int am65_cpsw_init_serdes_phy(struct device *dev, struct device_node *port_np,
                                     struct am65_cpsw_port *port)
 {
-       const char *name = "serdes-phy";
+       const char *name = "serdes";
        struct phy *phy;
        int ret;