]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: align usage of sh_eth_modify() with rest of driver
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 1 Feb 2017 14:41:54 +0000 (15:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2017 17:53:58 +0000 (12:53 -0500)
commit9eb31e893d930b9b81d5935a51ec964d55bb5006
tree3325b665067568fc175644f47bf98c555cd4f81b
parent52ae505dccc70582ec2a898ae296b43f2f030350
sh_eth: align usage of sh_eth_modify() with rest of driver

To be consistent with the rest of the driver when setting bits using
sh_eth_modify() the same bit should also be cleared. This have no
functional change and should have been done from the start.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Suggested-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c