r8169: add helpers rtl_eri_set/clear_bits
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 28 Apr 2019 09:11:47 +0000 (11:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 03:26:49 +0000 (23:26 -0400)
commite719b3eaeff0108da254138e6bd5f5bf8bae8954
tree3dc47b5cd2f26a45b89a5d2a9c5f45ce7d340e46
parent724c6fd0158c3537a8b29269624509b69ce9bd26
r8169: add helpers rtl_eri_set/clear_bits

Add helpers rtl_eri_set_bits and rtl_eri_clear_bits to improve
readability of the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c