[1/1] net: phy: motorcomm: change the phy id of yt8521 to lowercase

Message ID 20221129080005.24780-1-amadeus@jmu.edu.cn
State New
Headers
Series [1/1] net: phy: motorcomm: change the phy id of yt8521 to lowercase |

Commit Message

Chukun Pan Nov. 29, 2022, 8 a.m. UTC
  The phy id is usually defined in lower case, also align the indents.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
 drivers/net/phy/motorcomm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Andrew Lunn Nov. 29, 2022, 1:31 p.m. UTC | #1
On Tue, Nov 29, 2022 at 04:00:05PM +0800, Chukun Pan wrote:
> The phy id is usually defined in lower case, also align the indents.
> 
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
  
Jakub Kicinski Dec. 1, 2022, 5:48 a.m. UTC | #2
On Tue, 29 Nov 2022 16:00:05 +0800 Chukun Pan wrote:
> The phy id is usually defined in lower case, also align the indents.

does not apply, please rebase on netdev/net-next/main and repost.
  

Patch

diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c
index bd1ab5d0631f..e0aa98e890dd 100644
--- a/drivers/net/phy/motorcomm.c
+++ b/drivers/net/phy/motorcomm.c
@@ -12,7 +12,7 @@ 
 #include <linux/phy.h>
 
 #define PHY_ID_YT8511		0x0000010a
-#define PHY_ID_YT8521				0x0000011A
+#define PHY_ID_YT8521		0x0000011a
 
 /* YT8521 Register Overview
  *	UTP Register space	|	FIBER Register space