diff options
author | Quentin Schulz <quentin.schulz@bootlin.com> | 2018-09-03 10:48:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-04 10:47:53 -0700 |
commit | 0969abaa5093ef958540c140f86fb6dd46cfa61f (patch) | |
tree | bf820688c4860775b58875e0c57585bcbc831fd1 /block | |
parent | 11bfdabb7ff572935fb110df345ffe946eda905e (diff) |
net: phy: mscc: factorize function for getting LED mode from DT
Microsemi PHYs support different LED modes depending on the variant, so
let's factorize the code so we just have to give the supported modes
while the logic behind getting the mode remains identical.
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