diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-09-03 10:48:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-04 10:47:53 -0700 |
commit | 11bfdabb7ff572935fb110df345ffe946eda905e (patch) | |
tree | 0cf7b08a41e5170fb8b5a85d318970ef0c421601 /block | |
parent | 802869f4e5423457aa547ea3330eff34b9e16d68 (diff) |
net: phy: mscc: factorize code for LEDs mode
LEDs modes are set the same way, except they are offset by 4 times the
index of the LED.
Let's factorize all the code so that it's easier to add support for the
4 LEDs of the VSC8584 PHY.
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions