]> git.karo-electronics.de Git - linux-beck.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)
commit5a16778efccc057251dd19f7ec84c8c99bcee8ad
tree37b281cd242de425831fd03fbe8250ae2bc9ec97
parentb7035860a1dee6da1a6f3da4a38c8235dab05cb9
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