net: phy: mscc: remove the TR CLK disable magic value
authorQuentin Schulz <quentin.schulz@bootlin.com>
Tue, 23 Jun 2020 14:30:09 +0000 (16:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2020 21:33:16 +0000 (14:33 -0700)
commit6705b58daf844f219ca85231c69d019fbc30b992
tree3fcf7b80e43d715ab36071dc69c04064270f85c2
parentc7cd2a6a7b084f3d57ce4d783685e37d16327f9f
net: phy: mscc: remove the TR CLK disable magic value

This patch adds a define for the 0x8000 magic value used to perform
enable/disable actions on the "token ring clock". The patch is only
cosmetic.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c