[PATCH v1 net 1/2] net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy

Thangaraj Samynathan posted 2 patches 6 months, 3 weeks ago
There is a newer version of this series
[PATCH v1 net 1/2] net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
Posted by Thangaraj Samynathan 6 months, 3 weeks ago
rename the function to lan743x_hw_reset_phy to better describe it
operatioin

Fixes: 23f0703c125be ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
---
 drivers/net/ethernet/microchip/lan743x_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c
index 7e71579632f3..efa569b670cb 100644
--- a/drivers/net/ethernet/microchip/lan743x_main.c
+++ b/drivers/net/ethernet/microchip/lan743x_main.c
@@ -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)
-- 
2.25.1
Re: [PATCH v1 net 1/2] net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
Posted by Andrew Lunn 6 months, 3 weeks ago
On Fri, May 23, 2025 at 11:13:24AM +0530, Thangaraj Samynathan wrote:
> rename the function to lan743x_hw_reset_phy to better describe it
> operatioin

operation.

With that fixed please add: Reviewed-by: Andrew Lunn <andrew@lunn.ch>

	Andrew

---
pw-bot: cr
Re: [PATCH v1 net 1/2] net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
Posted by Thangaraj.S@microchip.com 6 months, 3 weeks ago
Hi Andrew,
Thanks for reviewing the patch.
On Fri, 2025-05-23 at 18:24 +0200, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
> 
> On Fri, May 23, 2025 at 11:13:24AM +0530, Thangaraj Samynathan wrote:
> > rename the function to lan743x_hw_reset_phy to better describe it
> > operatioin
> 
> operation.
> 
> With that fixed please add: Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> 
>         Andrew
> 
> ---
Sure, will update the same in next revision.
> pw-bot: cr