r8169: simplify ocp functions
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 19 Nov 2018 21:40:04 +0000 (22:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:32:15 +0000 (17:32 -0800)
commit3c72bf71a97fe4125270b2b618aaa6266f80a825
tree5029b83a912b0a1d076f11efc2062164fea5583e
parent8b6dd85666e217c1e16396b08ccb855524025f28
r8169: simplify ocp functions

rtl8168_oob_notify is used in rtl8168dp_driver_start and
rtl8168dp_driver_stop only, so we can rename it to r8168dp_oob_notify.
The same applies to condition rtl_ocp_read_cond which can be renamed
to rtl_dp_ocp_read_cond. This allows to simplify 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