commit | 457937bd2e8e70d3a37eee3eaa45d86d169a6762 | [log] [tgz] |
---|---|---|
author | Kyle Roeschley <kyle.roeschley@ni.com> | Fri Nov 09 12:48:03 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 09 20:13:51 2018 -0800 |
tree | 2eaccb2733c86888c65fc8761b7598c0e4e8cd69 | |
parent | 695bce8fd8e994999f40ee279e2fa9979cbae87a [diff] |
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>