net: phy: fix yt8521 duplicated argument to & or | 97/291097/2
authorFrank <Frank.Sae@motor-comm.com>
Fri, 4 Nov 2022 08:44:41 +0000 (16:44 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 04:14:28 +0000 (13:14 +0900)
commit025d67cfd7eb92a535426c05e75b54e315a60bf3
treecbf0364adf75bb7da282048dddd5f8923a78b1e6
parent30dd66b6ffd376234093810bee7d61c434f2cf45
net: phy: fix yt8521 duplicated argument to & or |

cocci warnings: (new ones prefixed by >>)
>> drivers/net/phy/motorcomm.c:1122:8-35: duplicated argument to & or |
  drivers/net/phy/motorcomm.c:1126:8-35: duplicated argument to & or |
  drivers/net/phy/motorcomm.c:1130:8-34: duplicated argument to & or |
  drivers/net/phy/motorcomm.c:1134:8-34: duplicated argument to & or |

 The second YT8521_RC1R_GE_TX_DELAY_xx should be YT8521_RC1R_FE_TX_DELAY_xx.

Fixes: 70479a40954c ("net: phy: Add driver for Motorcomm yt8521 gigabit ethernet phy")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Frank <Frank.Sae@motor-comm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I3f15389f5b7c13d23c068b1f5c178dc9462d05d1
drivers/net/phy/motorcomm.c