Re: [PATCH 14/14] net: phy: Make use of linkmode_mod_bit helper

2019-07-08 Thread David Miller
From: Fuqian Huang Date: Mon, 8 Jul 2019 20:34:17 +0800 > 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 Applied to net-next, thanks.

[PATCH 14/14] net: phy: Make use of linkmode_mod_bit helper

2019-07-08 Thread Fuqian Huang
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 --- drivers/net/phy/phy.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff