diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-08-09 21:43:04 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-08-12 07:24:32 +0300 |
| commit | 3eef8689325e6358a0c51d2ef8c6a689b2f22d48 (patch) | |
| tree | ddd201800e084be8366563eb00813c30b52d0d1b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 150e8f8a1bae1dea75f4217f483ac95ca48c979a (diff) | |
| download | linux-3eef8689325e6358a0c51d2ef8c6a689b2f22d48.tar.xz | |
net: phy: simplify genphy_config_advert by using the linkmode_adv_to_xxx_t functions
Using linkmode_adv_to_mii_adv_t and linkmode_adv_to_mii_ctrl1000_t
allows to simplify the code. In addition avoiding the conversion to
the legacy u32 advertisement format allows to remove the warning.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
