summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2018-09-03 11:48:48 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-04 20:47:53 +0300
commit0969abaa5093ef958540c140f86fb6dd46cfa61f (patch)
treebf820688c4860775b58875e0c57585bcbc831fd1 /tools/perf/scripts/python
parent11bfdabb7ff572935fb110df345ffe946eda905e (diff)
downloadlinux-0969abaa5093ef958540c140f86fb6dd46cfa61f.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions