summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-20staging: rtl8188eu:Remove EepromAddressSize from struct adapternavin patidar2-4/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused member variable of struct adapternavin patidar1-10/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove hal_data_sz from struct adapternavin patidar2-2/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function rtl8188e_clone_haldata()navin patidar2-6/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove DriverState from struct adapternavin patidar1-2/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove enum driver_statenavin patidar2-12/+4
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused enum _IFACE_TYPEnavin patidar1-6/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused enum _ADAPTER_TYPEnavin patidar1-6/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove usb_alloc_vendor_req_buf from struct dvobj_privnavin patidar2-13/+5
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove usb_suspend_sema from struct dvobj_privnavin patidar2-2/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused members of struct dvobj_privnavin patidar1-4/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused enumnavin patidar1-7/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused stucture defination struct specific_device_idnavin patidar1-6/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function declarations in usb_intf.cnavin patidar1-18/+10
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Use module_usb_driver() macronavin patidar1-21/+1
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove struct rtw_usb_drvnavin patidar1-16/+10
struct rtw_usb_drv contains only one member usb_driver structure, so no use of keeping it. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging : rtl8188eu: Remove drv_registered from struct rtw_usb_drvnavin patidar1-3/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Use unregistering flag from struct usb_interfacenavin patidar1-1/+1
Use unregistering flag from struct usb_interface to find driver registration status. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove hw_init_mutex from struct rtw_usb_drvnavin patidar3-8/+6
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove header file rtw_version.hnavin patidar6-6/+1
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging :rtl8188eu: Remove HalPhyRf.[h|c] files.navin patidar6-72/+21
Move ODM_GetRightChnlPlaceforIQK() from HalPhyRf.c to HalPhyRf_8188e.c. Move ODM_TARGET_CHNL_NUM_2G_5G from HalPhyRf.h to HalPhyRf_8188e.h. After the movement of function and macro HalPhyRf.[h|c] files are redundant. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function with empty defination ODM_ResetIQKResult()navin patidar3-12/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove usb_vendor_req.h header filenavin patidar3-54/+0
driver doesn't need usb_vendor_req.h. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function declarationnavin patidar1-3/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove Hal8188EReg.h filenavin patidar2-47/+0
Driver doesn't need Hal8188EReg.h file. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "last_tx_complete_time" from struct sreset_privnavin patidar3-7/+0
value stored in variable last_tx_complete_time isn't being used by driver. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "last_tx_time" from struct sreset_privnavin patidar3-7/+1
value stored in variable last_tx_time isn't being used by driver. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove empty files rtl8188e_sreset.[c|h]navin patidar4-56/+1
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform()navin patidar4-6/+0
Remove rtl8188e_silentreset_for_specific_platform() and function pointer ->silentreset pointing to it. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function rtw_hal_sreset_reset()navin patidar4-13/+0
rtw_hal_sreset_reset() is a wrapper to call rtl8188e_silentreset_for_specific_platform(), which has empty defination. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging:rtl8188eu: Remove function rtl8188e_sreset_linked_status_check()navin patidar4-20/+0
Remove rtl8188e_sreset_linked_status_check() and function pointer ->sreset_linked_status_check pointing to it. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging:rtl8188eu: Remove function rtw_hal_sreset_linked_status_check()navin patidar3-9/+0
rtw_hal_sreset_linked_status_check() is a wrapper to call rtl8188e_sreset_linked_status_check(), which doesn't do anything useful. rtl8188e_sreset_linked_status_check() will also be removed later. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function rtl8188e_sreset_xmit_status_check()navin patidar4-38/+0
Remove rtl8188e_sreset_xmit_status_check() and function pointer ->sreset_xmit_status_check pointing to it. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove function rtw_hal_sreset_xmit_status_check()navin patidar3-9/+0
rtw_hal_sreset_xmit_status_check() is a wrapper to call rtl8188e_sreset_xmit_status_check(), which calls rtl8188e_silentreset_for_specific_platform() in case of transmission has stopped to do a silent reset and restore the transmission but rtl8188e_silentreset_for_specific_platform() has empty defination, so we can remove rtw_hal_sreset_xmit_status_check() because it doesn't serve its purpose. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function reset_reset_value()navin patidar2-10/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function pointer ->sreset_reset_valuenavin patidar2-2/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove unused function rtw_hal_sreset_reset_value()navin patidar2-7/+0
Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Use rtw_hal_sreset_init() in rtw_reset_drv_sw()navin patidar1-2/+1
We can replace rtw_hal_sreset_reset_value() with rtw_hal_sreset_init() because both function call sreset_reset_value() and sreset_init_value() respectively at the end of code path, and function defination of sreset_reset_value() and sreset_init_value() is identical. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu:Remove "silent_reset_inprogress" from struct sreset_privnavin patidar2-5/+0
psrtpriv->silent_reset_inprogress is always false. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_privnavin patidar2-2/+0
silentreset_mutex initialized but not being used. Signed-off-by: navin patidar <navin.patidar@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: r8192ee: fix coccinelle warningsFengguang Wu1-1/+1
drivers/staging/rtl8192ee/btcoexist/halbtc8821a2ant.c:2491:3-4: Unneeded semicolon Removes unneeded semicolon. Generated by: /kbuild/src/linux/scripts/coccinelle/misc/semicolon.cocci CC: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20Staging: octeon: minor style cleanupsNicolas Koch1-4/+7
Done as task 10 of the eudyptula challenge. Signed-off-by: Nicolas Koch <nioko1337@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: octeon-ethernet: Move PHY activation to .ndo_open().David Daney7-101/+189
This prevents PHY not found types of errors for PHY drivers that are probed after the Ethernet driver is probed, because the ifconfig UP is done from userspace after all drivers have been probed. Also avoid the cvmx-helper-board.c PHY code if a real PHY driver is present, this allows a bootloader supplied device tree to specify the PHY information rather than having to modify the code for each different board. Tested-by: Alex Smith <alex.smith@imgtec.com> Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Alex Smith <alex.smith@imgtec.com> Cc: devel@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: unwind on error in dgap_init_one()Daeseok Youn1-9/+44
The dgap_init_one() needs to handle error properly if one of functions in dgap_init_one() is failed. Introduce some functions for handling error in dgap_init_one() - dgap_tty_unregister() : unregister tty driver - dgap_free_flipbuf() : free flip buffer - dgap_release_remap() : release memory region and unmapped memory. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: move unrelated functions in dgap_firmware_load()Daeseok Youn1-31/+39
The dgap_firmware_load() has a lot of stuff which are unrelated with loading firmware. So just moved to dgap_init_one(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: rename dgap_after_config_loaded() to dgap_alloc_flipbuf()Daeseok Youn1-3/+3
dgap_after_config_loaded() as function name doesn't tell what it does. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: introduce dgap_free_irq()Daeseok Youn1-2/+8
dgap_free_irq() will free the irq which is requested in dgap_request_irq(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: introduce dgap_tty_free() for freeing channels.Daeseok Youn1-1/+16
It should be called after dgap_tty_register_ports() is failed. So channels which are allocated in dgap_tty_init() will be freed. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: get rid of brd->firstminor because it is 0Daeseok Youn2-6/+4
firstminor in struct borad_t is always zero, so it can be removed. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-20staging: dgap: remove unused paramter in dgap_parsefile()Daeseok Youn1-3/+3
"remove" parameter is not used in dgap_parsefile(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>