diff options
author | Kyle Roeschley <kyle.roeschley@ni.com> | 2018-11-09 12:48:03 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-09 20:13:51 -0800 |
commit | 457937bd2e8e70d3a37eee3eaa45d86d169a6762 (patch) | |
tree | 2eaccb2733c86888c65fc8761b7598c0e4e8cd69 /drivers/infiniband/hw/nes | |
parent | net: phy: improve struct phy_device member interrupts handling (diff) | |
download | linux-dev-457937bd2e8e70d3a37eee3eaa45d86d169a6762.tar.xz linux-dev-457937bd2e8e70d3a37eee3eaa45d86d169a6762.zip |
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 'drivers/infiniband/hw/nes')
0 files changed, 0 insertions, 0 deletions