net: phy: at803x: finish the phy id checking simplification
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 20 Jul 2021 17:24:33 +0000 (20:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 14:58:20 +0000 (07:58 -0700)
commitf5621a01c86beb5dd83407f6e36d7bae43e8a8be
tree0a4d5376dc87a889fe541296aea4e0cb73cdbee3
parent7cefb0b0e91191185ddd26912cc52d589218fa47
net: phy: at803x: finish the phy id checking simplification

The blamed commit was probably not tested on net-next, since it did not
refactor the extra phy id check introduced in commit b856150c8098 ("net:
phy: at803x: mask 1000 Base-X link mode").

Fixes: 8887ca5474bd ("net: phy: at803x: simplify custom phy id matching")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c