Commit 6c2d5aeb authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Rename rtl8192_phy_RFSerialWrite



Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFSerialWrite to _rtl92e_phy_rf_write.

Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6edb1763
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static u32 _rtl92e_phy_rf_read(struct net_device *dev,

}

static void rtl8192_phy_RFSerialWrite(struct net_device *dev,
static void _rtl92e_phy_rf_write(struct net_device *dev,
				 enum rf90_radio_path eRFPath, u32 Offset,
				 u32 Data)
{
@@ -248,10 +248,9 @@ void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
			New_Value = (((Original_Value) & (~BitMask)) |
				     (Data << BitShift));

			rtl8192_phy_RFSerialWrite(dev, eRFPath, RegAddr,
						  New_Value);
			_rtl92e_phy_rf_write(dev, eRFPath, RegAddr, New_Value);
		} else
			rtl8192_phy_RFSerialWrite(dev, eRFPath, RegAddr, Data);
			_rtl92e_phy_rf_write(dev, eRFPath, RegAddr, Data);
	}
}