summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/hal/hal_com.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-11 17:21:33 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 22:34:02 (GMT)
commite76484d00c5147d2959e673faa858e7ace4567dd (patch)
tree2ad00607749352a3661e43dc8e2bbcc84fa12e45 /drivers/staging/rtl8188eu/hal/hal_com.c
parent9764ed0405eab479d227a6bef7955876f667266a (diff)
downloadlinux-e76484d00c5147d2959e673faa858e7ace4567dd.tar.xz
staging: rtl8188eu: Remove function _rtw_write8()
_rtw_write8() is a wrapper function, being used to call usb_write8(). Call usb_write8() directly and drop _rtw_write8(). Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/hal_com.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/hal_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/hal_com.c b/drivers/staging/rtl8188eu/hal/hal_com.c
index 829b900..f69dbf9 100644
--- a/drivers/staging/rtl8188eu/hal/hal_com.c
+++ b/drivers/staging/rtl8188eu/hal/hal_com.c
@@ -328,7 +328,7 @@ void hal_init_macaddr(struct adapter *adapter)
void c2h_evt_clear(struct adapter *adapter)
{
- rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
+ usb_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
}
s32 c2h_evt_read(struct adapter *adapter, u8 *buf)