r8169: factor out rtl8168h_2_get_adc_bias_ioffset
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 21 Dec 2019 13:03:38 +0000 (14:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:26:46 +0000 (22:26 -0800)
commit3127f7c9b7da3f64a7b970bfbfa307f48adbb72e
tree62cd91e35e01c9b70e3faabeaf5191ce627b2b39
parentab5d4bb2b819bd09a1eb1a9a0069e22c1ae4aeb0
r8169: factor out rtl8168h_2_get_adc_bias_ioffset

Simplify and factor out this magic from rtl8168h_2_hw_phy_config()
and name it based on the vendor driver.

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