]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe3854c7fa13c53c1932f91edb0adde5a67056c2
tree3fcf7b80e43d715ab36071dc69c04064270f85c2
parent6ab9d4bd99938f5c5aa48a0c68840ace62cf9230
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