diff options
author | Kyle Roeschley <kyle.roeschley@ni.com> | 2018-11-09 21:48:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-10 07:13:51 +0300 |
commit | 457937bd2e8e70d3a37eee3eaa45d86d169a6762 (patch) | |
tree | 2eaccb2733c86888c65fc8761b7598c0e4e8cd69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 695bce8fd8e994999f40ee279e2fa9979cbae87a (diff) | |
download | linux-457937bd2e8e70d3a37eee3eaa45d86d169a6762.tar.xz |
net: phy: leds: Don't make our own link speed names
The phy core provides a handy phy_speed_to_str() helper, so use that
instead of doing our own formatting of the different known link speeds.
To do this, increase PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE to 11 so we can fit
'Unsupported' if necessary.
Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions