commit | ccf355e52a3265624b7acadd693c849d599e9b9f | [log] [tgz] |
---|---|---|
author | Fuqian Huang <huangfq.daxian@gmail.com> | Mon Jul 08 20:34:17 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 08 20:10:34 2019 -0700 |
tree | d75b3dad06834d5c433a0ab583380de2bef8827f | |
parent | 88e2f2846d901e1d61e99ac1d06544d41f478430 [diff] |
net: phy: Make use of linkmode_mod_bit helper linkmode_mod_bit is introduced as a helper function to set/clear bits in a linkmode. Replace the if else code structure with a call to the helper linkmode_mod_bit. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>