Skip to content

Commit 68927eb

Browse files
Thangaraj Samynathankuba-moo
authored andcommitted
net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
rename the function to lan743x_hw_reset_phy to better describe it operation. Fixes: 23f0703 ("lan743x: Add main source files for new lan743x driver") Signed-off-by: Thangaraj Samynathan <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3920a75 commit 68927eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/microchip/lan743x_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ static int lan743x_mac_set_mtu(struct lan743x_adapter *adapter, int new_mtu)
13301330
}
13311331

13321332
/* PHY */
1333-
static int lan743x_phy_reset(struct lan743x_adapter *adapter)
1333+
static int lan743x_hw_reset_phy(struct lan743x_adapter *adapter)
13341334
{
13351335
u32 data;
13361336

@@ -1348,7 +1348,7 @@ static int lan743x_phy_reset(struct lan743x_adapter *adapter)
13481348

13491349
static int lan743x_phy_init(struct lan743x_adapter *adapter)
13501350
{
1351-
return lan743x_phy_reset(adapter);
1351+
return lan743x_hw_reset_phy(adapter);
13521352
}
13531353

13541354
static void lan743x_phy_interface_select(struct lan743x_adapter *adapter)

0 commit comments

Comments
 (0)