]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: clean up led-mode setup
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2014 19:00:14 +0000 (20:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 18:55:36 +0000 (13:55 -0500)
commitbcbd6f3d5fc77dc1b6f98b72a4fa3515a3697aae
tree37b281cd242de425831fd03fbe8250ae2bc9ec97
parent458f22204ae793773a711ebfa9c2ad9df3ab5896
net: phy: micrel: clean up led-mode setup

Clean up led-mode setup by introducing proper defines for PHY Control
registers 1 and 2 and only passing the register to the setup function.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c