firefly-linux-kernel-4.4.55.git
10 years agostaging: ced1401: fix comment
Luca Ellero [Thu, 10 Jul 2014 09:02:07 +0000 (11:02 +0200)]
staging: ced1401: fix comment

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_disconnect()
Luca Ellero [Thu, 10 Jul 2014 09:02:06 +0000 (11:02 +0200)]
staging: ced1401: fix ced_disconnect()

Rename camel case locals in function ced_disconnect()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_ioctl()
Luca Ellero [Thu, 10 Jul 2014 09:02:05 +0000 (11:02 +0200)]
staging: ced1401: fix ced_ioctl()

Rename camel case arguments and locals in function ced_ioctl()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_allowi()
Luca Ellero [Thu, 10 Jul 2014 09:02:04 +0000 (11:02 +0200)]
staging: ced1401: fix ced_allowi()

Rename camel case arguments and locals in function ced_allowi()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_readchar_callback()
Luca Ellero [Thu, 10 Jul 2014 09:02:03 +0000 (11:02 +0200)]
staging: ced1401: fix ced_readchar_callback()

Rename camel case arguments and locals in function ced_readchar_callback()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_handle_esc()
Luca Ellero [Thu, 10 Jul 2014 09:02:02 +0000 (11:02 +0200)]
staging: ced1401: fix ced_handle_esc()

Rename camel case arguments and locals in function ced_handle_esc()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_read_dma_info()
Luca Ellero [Thu, 10 Jul 2014 09:02:01 +0000 (11:02 +0200)]
staging: ced1401: fix ced_read_dma_info()

Rename camel case arguments and locals in function ced_read_dma_info()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_read_huff()
Luca Ellero [Thu, 10 Jul 2014 09:02:00 +0000 (11:02 +0200)]
staging: ced1401: fix ced_read_huff()

Rename camel case arguments and locals in function ced_read_huff()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_read_word()
Luca Ellero [Thu, 10 Jul 2014 09:01:59 +0000 (11:01 +0200)]
staging: ced1401: fix ced_read_word()

Rename camel case arguments and locals in function ced_read_word()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_read_char()
Luca Ellero [Thu, 10 Jul 2014 09:01:58 +0000 (11:01 +0200)]
staging: ced1401: fix ced_read_char()

Rename camel case arguments and locals in function ced_read_char()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_read_write_mem()
Luca Ellero [Thu, 10 Jul 2014 09:01:57 +0000 (11:01 +0200)]
staging: ced1401: fix ced_read_write_mem()

Rename camel case arguments and locals in function ced_read_write_mem()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_stage_chunk()
Luca Ellero [Thu, 10 Jul 2014 09:01:56 +0000 (11:01 +0200)]
staging: ced1401: fix ced_stage_chunk()

Rename camel case arguments and locals in function ced_stage_chunk()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix staged_callback()
Luca Ellero [Thu, 10 Jul 2014 09:01:55 +0000 (11:01 +0200)]
staging: ced1401: fix staged_callback()

Rename camel case arguments and locals in function staged_callback()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_copy_user_space()
Luca Ellero [Thu, 10 Jul 2014 09:01:54 +0000 (11:01 +0200)]
staging: ced1401: fix ced_copy_user_space()

Rename camel case arguments and locals in function ced_copy_user_space()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_send_chars()
Luca Ellero [Thu, 10 Jul 2014 09:01:53 +0000 (11:01 +0200)]
staging: ced1401: fix ced_send_chars()

Rename camel case arguments and locals in function ced_send_chars()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: fix ced_writechar_callback()
Luca Ellero [Thu, 10 Jul 2014 09:01:52 +0000 (11:01 +0200)]
staging: ced1401: fix ced_writechar_callback()

Rename camel case locals in function ced_writechar_callback()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: rename members of struct ced_data
Luca Ellero [Thu, 10 Jul 2014 09:01:51 +0000 (11:01 +0200)]
staging: ced1401: rename members of struct ced_data

Rename members with CamelCase and Hungarian notation

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: rename members of struct dmadesc
Luca Ellero [Thu, 10 Jul 2014 09:01:50 +0000 (11:01 +0200)]
staging: ced1401: rename members of struct dmadesc

Rename members with CamelCase and Hungarian notation

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: rename members of struct transarea
Luca Ellero [Thu, 10 Jul 2014 09:01:49 +0000 (11:01 +0200)]
staging: ced1401: rename members of struct transarea

Rename members with CamelCase and Hungarian notation

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: rename members of struct circ_blk
Luca Ellero [Thu, 10 Jul 2014 09:01:48 +0000 (11:01 +0200)]
staging: ced1401: rename members of struct circ_blk

Rename members with CamelCase and Hungarian notation

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: remove typedef DEVICE_EXTENSION
Luca Ellero [Thu, 10 Jul 2014 09:01:47 +0000 (11:01 +0200)]
staging: ced1401: remove typedef DEVICE_EXTENSION

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: remove typedef for DMADESC
Luca Ellero [Thu, 10 Jul 2014 09:01:46 +0000 (11:01 +0200)]
staging: ced1401: remove typedef for DMADESC

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: ced1401: remove typedef for TRANSAREA
Luca Ellero [Thu, 10 Jul 2014 09:01:45 +0000 (11:01 +0200)]
staging: ced1401: remove typedef for TRANSAREA

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: board: disable as it breaks the build
Stephen Rothwell [Fri, 20 Jun 2014 04:14:17 +0000 (14:14 +1000)]
staging: board: disable as it breaks the build

Cc: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: gdm72xx: reorder functions and remove forward declarations
Michalis Pappas [Wed, 9 Jul 2014 19:44:18 +0000 (20:44 +0100)]
staging: gdm72xx: reorder functions and remove forward declarations

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8712: remove wrapper function thread_enter()
James A Shackleford [Wed, 9 Jul 2014 19:26:23 +0000 (15:26 -0400)]
staging: rtl8712: remove wrapper function thread_enter()

The inline function thread_enter() accepts a single ignored parameter and is
just a wrapper for allow_signal(SIGTERM).  Removed.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: gdm72xx: move T_CAPABILITY definitions to hci.h
Michalis Pappas [Wed, 9 Jul 2014 19:21:21 +0000 (20:21 +0100)]
staging: gdm72xx: move T_CAPABILITY definitions to hci.h

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: dgap: removes redundant null check and change paramter for dgap_maxcps_room()
Daeseok Youn [Thu, 10 Jul 2014 03:26:04 +0000 (12:26 +0900)]
staging: dgap: removes redundant null check and change paramter for dgap_maxcps_room()

Null checks for tty, un and ch are already done by caller,
so replace parameter "tty" with "ch" and "un".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: osdep_service.h: Remove unused struct rtw_cbuf
navin patidar [Thu, 10 Jul 2014 03:42:28 +0000 (09:12 +0530)]
staging: rtl8188eu: osdep_service.h: Remove unused struct rtw_cbuf

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused functions rtw_cbuf_[full, empty, push, pop]()
navin patidar [Thu, 10 Jul 2014 03:42:27 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused functions rtw_cbuf_[full, empty, push, pop]()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_cbuf_alloc()
navin patidar [Thu, 10 Jul 2014 03:42:26 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused function rtw_cbuf_alloc()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Use msecs_to_jiffies() instead of rtw_ms_to_systime()
navin patidar [Thu, 10 Jul 2014 03:42:25 +0000 (09:12 +0530)]
staging: rtl8188eu: Use msecs_to_jiffies() instead of rtw_ms_to_systime()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: use jiffies_to_msecs() instead of rtw_systime_to_ms()
navin patidar [Thu, 10 Jul 2014 03:42:24 +0000 (09:12 +0530)]
staging: rtl8188eu: use jiffies_to_msecs() instead of rtw_systime_to_ms()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_efuse.c: Remove unused functions
navin patidar [Thu, 10 Jul 2014 03:42:23 +0000 (09:12 +0530)]
staging: rtl8188eu: rtw_efuse.c: Remove unused functions

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function HalDetectPwrDownMode88E()
navin patidar [Thu, 10 Jul 2014 03:42:22 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused function HalDetectPwrDownMode88E()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused functions rtw_efuse_map_[read, write]()
navin patidar [Thu, 10 Jul 2014 03:42:21 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused functions rtw_efuse_map_[read, write]()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_efuse.c : Remove unused functions
navin patidar [Thu, 10 Jul 2014 03:42:20 +0000 (09:12 +0530)]
staging: rtl8188eu: rtw_efuse.c : Remove unused functions

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove function efuse_GetMaxSize()
navin patidar [Thu, 10 Jul 2014 03:42:19 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove function efuse_GetMaxSize()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function efuse_GetCurrentSize()
navin patidar [Thu, 10 Jul 2014 03:42:18 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused function efuse_GetCurrentSize()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove function rtw_alloc_etherdev()
navin patidar [Thu, 10 Jul 2014 03:42:17 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove function rtw_alloc_etherdev()

rtw_alloc_etherdev() is used in rtw_init_netdev() but never gets called
because old_padapter is never NULL.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_change_ifname()
navin patidar [Thu, 10 Jul 2014 03:42:16 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused function rtw_change_ifname()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove dummy function rtw_free_cmd_priv()
navin patidar [Thu, 10 Jul 2014 03:42:15 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove dummy function rtw_free_cmd_priv()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove cmd_seq from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:14 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove cmd_seq from struct cmd_priv

Value stored in cmd_seq isn't used by driver.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused structures
navin patidar [Thu, 10 Jul 2014 03:42:13 +0000 (09:12 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused structures

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove command _Set_H2C_MSG and its handler
navin patidar [Thu, 10 Jul 2014 03:42:12 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove command _Set_H2C_MSG and its handler

_Set_H2C_MSG command is never issued by driver and its handler is a
dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove command _LedBlink and its handler
navin patidar [Thu, 10 Jul 2014 03:42:11 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove command _LedBlink and its handler

_LedBlink command is never issued by driver and its handler is a
dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove command _SetChannelSwitch and its handler
navin patidar [Thu, 10 Jul 2014 03:42:10 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove command _SetChannelSwitch and its handler

_SetChannelSwitch command is never issued by driver and its handler is a
dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove command _TDLS and its handler
navin patidar [Thu, 10 Jul 2014 03:42:09 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove command _TDLS and its handler

_TDLS command is never issued by driver and its handler is a
dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused structures
navin patidar [Thu, 10 Jul 2014 03:42:08 +0000 (09:12 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused structures

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_[cmd, mlme_ext].h: Remove unused command codes
navin patidar [Thu, 10 Jul 2014 03:42:07 +0000 (09:12 +0530)]
staging: rtl8188eu: rtw_[cmd, mlme_ext].h: Remove unused command codes

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove function rtw_setdatarate_cmd()
navin patidar [Thu, 10 Jul 2014 03:42:06 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove function rtw_setdatarate_cmd()

rtw_setdatarate_cmd() enqueue _SetDataRate command but there is not
handler mapped in wlancmds[] to handle this command.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove function rtw_getbbrfreg_cmdrsp_callback()
navin patidar [Thu, 10 Jul 2014 03:42:05 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove function rtw_getbbrfreg_cmdrsp_callback()

rtw_getbbrfreg_cmdrsp_callback() is a callback for _Read_BBREG and _Read_RFREG
commands but these commands are never issued by driver.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove members cmd_[allocated,]_buf from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:04 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove members cmd_[allocated,]_buf from struct cmd_priv

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused members rsp_[allocated, ]_buf from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:03 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused members rsp_[allocated, ]_buf from struct cmd_priv

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused member cmd_done_cnt from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:02 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused member cmd_done_cnt from struct cmd_priv

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused member cmd_issued_cnt from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:01 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused member cmd_issued_cnt from struct cmd_priv

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused member rsp_cnt from struct cmd_priv
navin patidar [Thu, 10 Jul 2014 03:42:00 +0000 (09:12 +0530)]
staging: rtl8188eu: Remove unused member rsp_cnt from struct cmd_priv

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Rename _rtw_dequeue_cmd() to rtw_dequeue_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:59 +0000 (09:11 +0530)]
staging: rtl8188eu: Rename _rtw_dequeue_cmd() to rtw_dequeue_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Rename _rtw_free_cmd_priv() to rtw_free_cmd_priv()
navin patidar [Thu, 10 Jul 2014 03:41:58 +0000 (09:11 +0530)]
staging: rtl8188eu: Rename _rtw_free_cmd_priv() to rtw_free_cmd_priv()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Rename _rtw_init_cmd_priv() to rtw_init_cmd_priv()
navin patidar [Thu, 10 Jul 2014 03:41:57 +0000 (09:11 +0530)]
staging: rtl8188eu: Rename _rtw_init_cmd_priv() to rtw_init_cmd_priv()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove wrapper function power_saving_wk_hdl()
navin patidar [Thu, 10 Jul 2014 03:41:56 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove wrapper function power_saving_wk_hdl()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove header file cmd_osdep.h
navin patidar [Thu, 10 Jul 2014 03:41:55 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove header file cmd_osdep.h

cmd_osdep.h is not required.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove struct Tx_Beacon_param
navin patidar [Thu, 10 Jul 2014 03:41:54 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove struct Tx_Beacon_param

struct Tx_Beacon_param has only one member.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove struct [join, create]bss_parm
navin patidar [Thu, 10 Jul 2014 03:41:53 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove struct [join, create]bss_parm

These two structures have only one member.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_cmd_clr_isr()
navin patidar [Thu, 10 Jul 2014 03:41:52 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_cmd_clr_isr()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused structures
navin patidar [Thu, 10 Jul 2014 03:41:51 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused structures

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused macros
navin patidar [Thu, 10 Jul 2014 03:41:50 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused macros

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused function declaration
navin patidar [Thu, 10 Jul 2014 03:41:49 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused function declaration

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_createbss_cmd_ex()
navin patidar [Thu, 10 Jul 2014 03:41:48 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_createbss_cmd_ex()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setstandby_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:47 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setstandby_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setassocsta_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:46 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setassocsta_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove dummy function rtw_tdls_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:45 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove dummy function rtw_tdls_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_set_csa_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:44 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_set_csa_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_set_ch_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:43 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_set_ch_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setrttbl_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:42 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setrttbl_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_[set, get]rfreg_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:41 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_[set, get]rfreg_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_getbbreg_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:40 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_getbbreg_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setbbreg_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:39 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setbbreg_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setphy_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:38 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setphy_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_setbasicrate_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:37 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_setbasicrate_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_c2h_wk_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:36 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_c2h_wk_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_getrttbl_cmd()
navin patidar [Thu, 10 Jul 2014 03:41:35 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_getrttbl_cmd()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: rtw_cmd.h: Remove unused macro and structure
navin patidar [Thu, 10 Jul 2014 03:41:34 +0000 (09:11 +0530)]
staging: rtl8188eu: rtw_cmd.h: Remove unused macro and structure

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function rtw_hal_c2h_id_filter_ccx()
navin patidar [Thu, 10 Jul 2014 03:41:33 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function rtw_hal_c2h_id_filter_ccx()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove dummy function rtw_hal_c2h_handler()
navin patidar [Thu, 10 Jul 2014 03:41:32 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove dummy function rtw_hal_c2h_handler()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function c2h_evt_clear()
navin patidar [Thu, 10 Jul 2014 03:41:31 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function c2h_evt_clear()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove unused function c2h_evt_read()
navin patidar [Thu, 10 Jul 2014 03:41:30 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove unused function c2h_evt_read()

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove function c2h_evt_hdl()
navin patidar [Thu, 10 Jul 2014 03:41:29 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove function c2h_evt_hdl()

c2h_evt_hdl() calls a dummy function rtw_hal_c2h_handler() to handle events,
so no use of keeping it.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove struct evt_priv and its uses
navin patidar [Thu, 10 Jul 2014 03:41:28 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove struct evt_priv and its uses

c2h_wk (work_struct) is naver scheduled to handle events,
so no use of keeping event data.
And also function rtw_hal_c2h_handler() responsible for handling c2h events,
is a dummy function.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove P2P support
navin patidar [Thu, 10 Jul 2014 03:41:27 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove P2P support

We've already removed non-standard ioctl handlers used by driver
to support P2P mode.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove mp( mesh point) mode support
navin patidar [Thu, 10 Jul 2014 03:41:26 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove mp( mesh point) mode support

We've already removed non-standard ioctl handlers, used by driver
to support mp mode.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove usb_osintf.h header file.
navin patidar [Thu, 10 Jul 2014 03:41:25 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove usb_osintf.h header file.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove files rtw_mp_ioctl.[c,h]
navin patidar [Thu, 10 Jul 2014 03:41:24 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove files rtw_mp_ioctl.[c,h]

files are not required after removal of private ioctl handlers.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: Remove WEXT_PRIV private ioctl handlers
navin patidar [Thu, 10 Jul 2014 03:41:23 +0000 (09:11 +0530)]
staging: rtl8188eu: Remove WEXT_PRIV private ioctl handlers

Remove WEXT_PRIV (non-standard) ioctl handlers.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: re-use hex_to_bin() instead of custom code
Andy Shevchenko [Thu, 10 Jul 2014 03:41:22 +0000 (09:11 +0530)]
staging: rtl8188eu: re-use hex_to_bin() instead of custom code

hex_to_bin could be used to convert hexdecimal digit to its binary
representation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: substitute custom hex2bin()
Andy Shevchenko [Thu, 10 Jul 2014 03:41:21 +0000 (09:11 +0530)]
staging: rtl8188eu: substitute custom hex2bin()

Instead of using custom code to convert hexdecinal strings to their binary
represantation let's use kernel's library function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8188eu: re-use mac_pton() helper
Andy Shevchenko [Thu, 10 Jul 2014 03:41:20 +0000 (09:11 +0530)]
staging: rtl8188eu: re-use mac_pton() helper

The helper mac_pton() validates and converts MAC address from string format to
a number. Originally code uses simple code to do that. With mac_pton() the
driver now validates input as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8712: remove #define _workitem struct work_struct
James A Shackleford [Wed, 9 Jul 2014 19:10:47 +0000 (15:10 -0400)]
staging: rtl8712: remove #define _workitem struct work_struct

_workitem is just a #define for work_struct.  Remove the #define and
use struct work_struct directly instead.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8712: remove wrapper function _set_workitem()
James A Shackleford [Wed, 9 Jul 2014 19:10:46 +0000 (15:10 -0400)]
staging: rtl8712: remove wrapper function _set_workitem()

The inline function _set_workitem() simply wraps schedule_work().  Removed.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agostaging: rtl8712: remove wrapper function _init_workitem()
James A Shackleford [Wed, 9 Jul 2014 19:10:45 +0000 (15:10 -0400)]
staging: rtl8712: remove wrapper function _init_workitem()

The inline function _init_workitem() is just a wrapper around INIT_WORK().
Oddly, this wrapper accepts 3 parameters while INIT_WORK() only accepts 2.
The third parameter is unused.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>