net: dsa: vsc73xx: use defined values in phy operations
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 5 Aug 2024 21:23:22 +0000 (23:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2024 11:03:33 +0000 (12:03 +0100)
commit2524d6c28bdcb114372e86354c88d2e47eb1019d
tree5d1dd3fb5eb58b665921f6ea6f3e3283adb2b46e
parenteb3ab13d997a2f12ec9d557b6ae2aea4e28e2bc3
net: dsa: vsc73xx: use defined values in phy operations

This commit changes magic numbers in phy operations.
Some shifted registers was replaced with bitfield macros.

No functional changes done.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/vitesse-vsc73xx-core.c