summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/core/rtw_debug.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-11 22:51:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 15:34:02 -0700
commitc7b2e995a1226a09a30ad0f9dd6e922f21b3dd28 (patch)
tree755b581c6af6259d4bde1d12c38ad2e7ade740ca /drivers/staging/rtl8188eu/core/rtw_debug.c
parent551a397227e34e9f895182946365f63fbd8e4b8d (diff)
downloadop-kernel-dev-c7b2e995a1226a09a30ad0f9dd6e922f21b3dd28.zip
op-kernel-dev-c7b2e995a1226a09a30ad0f9dd6e922f21b3dd28.tar.gz
staging: rtl8188eu: Remove function _rtw_read8()
_rtw_read8() is a wrapper function, being used to call usb_read8(). Call usb_read8() directly and drop _rtw_read8(). Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_debug.c')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c
index bf39b64..acd6d45 100644
--- a/drivers/staging/rtl8188eu/core/rtw_debug.c
+++ b/drivers/staging/rtl8188eu/core/rtw_debug.c
@@ -98,7 +98,7 @@ int proc_get_read_reg(char *page, char **start,
switch (proc_get_read_len) {
case 1:
- len += snprintf(page + len, count - len, "rtw_read8(0x%x)=0x%x\n", proc_get_read_addr, rtw_read8(padapter, proc_get_read_addr));
+ len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(padapter, proc_get_read_addr));
break;
case 2:
len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16(padapter, proc_get_read_addr));
OpenPOWER on IntegriCloud