diff options
author | 2018-09-03 10:48:48 +0200 | |
---|---|---|
committer | 2018-09-04 10:47:53 -0700 | |
commit | 0969abaa5093ef958540c140f86fb6dd46cfa61f (patch) | |
tree | bf820688c4860775b58875e0c57585bcbc831fd1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | net: phy: mscc: factorize code for LEDs mode (diff) | |
download | wireguard-linux-0969abaa5093ef958540c140f86fb6dd46cfa61f.tar.xz wireguard-linux-0969abaa5093ef958540c140f86fb6dd46cfa61f.zip |
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions