net: phy: at803x: use GENMASK() for speed status
authorLuo Jie <luoj@codeaurora.org>
Sun, 24 Oct 2021 08:27:28 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:04:18 +0000 (14:04 +0100)
commit9540cdda91139e482865619d9cdf9be5b413921a
treece0af33a4aa737bc9de40b0b9f950c760e8e1f7c
parent7beecaf7d507b64ef1d6210835aec6ed4e64f30a
net: phy: at803x: use GENMASK() for speed status

Use GENMASK() for the current speed value.

Signed-off-by: Luo Jie <luoj@codeaurora.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c