net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
authorThangaraj Samynathan <thangaraj.s@microchip.com>
Mon, 26 May 2025 05:30:47 +0000 (11:00 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 May 2025 00:52:01 +0000 (17:52 -0700)
rename the function to lan743x_hw_reset_phy to better describe it
operation.

Fixes: 23f0703c125be ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250526053048.287095-2-thangaraj.s@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan743x_main.c

index a70b88037a208b1bfbe52f0edf6ba53ccf546a2f..da5bd54208dd544e6daa9e94b1cbe0855c431b46 100644 (file)
@@ -1330,7 +1330,7 @@ static int lan743x_mac_set_mtu(struct lan743x_adapter *adapter, int new_mtu)
 }
 
 /* PHY */
-static int lan743x_phy_reset(struct lan743x_adapter *adapter)
+static int lan743x_hw_reset_phy(struct lan743x_adapter *adapter)
 {
        u32 data;
 
@@ -1348,7 +1348,7 @@ static int lan743x_phy_reset(struct lan743x_adapter *adapter)
 
 static int lan743x_phy_init(struct lan743x_adapter *adapter)
 {
-       return lan743x_phy_reset(adapter);
+       return lan743x_hw_reset_phy(adapter);
 }
 
 static void lan743x_phy_interface_select(struct lan743x_adapter *adapter)