]> asedeno.scripts.mit.edu Git - linux.git/commit
r8169: simplify rtl_writephy_batch and rtl_ephy_init
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 4 May 2019 14:57:49 +0000 (16:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 May 2019 04:53:57 +0000 (21:53 -0700)
commit1791ad50c8d7fd8a8009a2a8ea2650bf744625ec
tree94ff5c5ae862ac48481fbfcb6a1438b11c59e34c
parent0e5ef5a22ab77f881803d11b855b5e2dabd38278
r8169: simplify rtl_writephy_batch and rtl_ephy_init

Make both functions macros to allow omitting the ARRAY_SIZE(x) argument.

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