[net-next,v1] net: phy: motorcomm: change the phy id of yt8521 and yt8531s to lowercase

Message ID 20230128063558.5850-2-Frank.Sae@motor-comm.com
State New
Headers
Series [net-next,v1] net: phy: motorcomm: change the phy id of yt8521 and yt8531s to lowercase |

Commit Message

Frank Sae Jan. 28, 2023, 6:35 a.m. UTC
  The phy id is usually defined in lower case.

Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
---
 drivers/net/phy/motorcomm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Andrew Lunn Jan. 28, 2023, 3:01 p.m. UTC | #1
On Sat, Jan 28, 2023 at 02:35:58PM +0800, Frank Sae wrote:
>  The phy id is usually defined in lower case.
> 
> Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>

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

    Andrew
  

Patch

diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c
index b6968c78c303..aa02e722c51d 100644
--- a/drivers/net/phy/motorcomm.c
+++ b/drivers/net/phy/motorcomm.c
@@ -12,8 +12,8 @@ 
 #include <linux/phy.h>
 
 #define PHY_ID_YT8511		0x0000010a
-#define PHY_ID_YT8521		0x0000011A
-#define PHY_ID_YT8531S		0x4F51E91A
+#define PHY_ID_YT8521		0x0000011a
+#define PHY_ID_YT8531S		0x4f51e91a
 
 /* YT8521/YT8531S Register Overview
  *	UTP Register space	|	FIBER Register space