summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-06-27 15:31:52 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-06-28 13:52:12 +0100
commit7d322a4497e4bfc45b7cc59f88c435d1cd2d3fef (patch)
tree489dceb35c9a87ff7825ed237811647e6b06847f /.clang-format
parent67b0bf3781cc3df3b710b91c7368a625695c932e (diff)
net: phylink: simplify ksettings_set() implementation
Simplify the ksettings_set() implementation to look more like phylib's implementation; use a switch() for validating the autoneg setting, and use the linkmode_modify() helper to set the autoneg bit in the advertisement mask. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions