summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-07-21 12:04:16 +0100
committerDavid S. Miller <davem@davemloft.net>2020-07-21 15:46:50 -0700
commitc8cab719cc64f8999503aff584a7bef7edb28e24 (patch)
tree4f429f2ef771665567bdad70eb97764a7b059f0c /include/linux/debugobjects.h
parent7cceb599d15d6639b1298ae400c26d822148e86f (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. Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions