aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/csr (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-11-21staging: csr: remove CONFIG_HOTPLUG ifdefsBill Pemberton1-6/+0
Remove conditional code based on CONFIG_HOTPLUG being false. It's always on now in preparation of it going away as an option. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-06staging: csr: csr_wifi_hip_unifi_signal_names: Fix pointer positionHojung Youn1-1/+1
Fixed pointers' positions in the csr_wifi_hip_unifi_signal_names.c file that were identifed by checkpatch.pl tool. Signed-off-by: Hojung Youn <amoc.yn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-06staging: csr: csr_wifi_hip_unifi_signal_names: fix whitespaced paddingsHojung Youn1-11/+11
Fixed whitespace paddings in the csr_wifi_hip_unifi_signal_names.c file that were, though, not identified by checkpatch.pl tool. Signed-off-by: Hojung Youn <amoc.yn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-06staging: csr: csr_wifi_hip_unifi_signal_names: fix bracketsHojung Youn1-6/+1
Fixed brackets' positions in the csr_wifi_hip_unifi_signal_names.c file that were identified by checkpatch.pl tool. Some brackets are removed which are not needed by the rule of CodingStyle documentation. Signed-off-by: Hojung Youn <amoc.yn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-06staging: csr: csr_wifi_hip_unifi_signal_names: fix indentHojung Youn1-22/+22
Fixed indent style in the csr_wifi_hip_unifi_signal_names.c file that were identified by checkpatch.pl tool. All whitespaced indents are converted into tab characters, except ones in the topmost commentation. Signed-off-by: Hojung Youn <amoc.yn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: csr_wifi_nme_task.h: remove function prototypesDevendra Naga1-3/+0
there are function definitions missing for these prototypes, so remove all 3 function protos. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: csr_wifi_nme_ap_lib.h: remove the function prototypesDevendra Naga1-18/+0
these function prototypes are missing the function definition, remove them all. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: csr_wifi_nme_lib.h: remove function prototypesDevendra Naga1-54/+0
the function definitions are missing for these prototypes, so remove all these. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: sme_blocking.c: add missing check for return of sme_wait_for_replyDevendra Naga1-0/+2
sme_ap_config misses a check of the return of the sme_wait_for_reply as all other functions do here, for the return of sme_wait_for_reply add the check and fail if it returns other than 0. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: sme_blocking.c: remove braces around single statement blocksDevendra Naga1-145/+74
remove the braces around single statement if blocks Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: sme_blocking.c: replace spaces with the tabs in sme_mgt_tspecDevendra Naga1-19/+19
replace spaces at start of line with tabs in sme_mgt_tspec Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: sme_blocking.c: replace spaces with tabsDevendra Naga1-24/+24
replace spaces at the beginning of the line with tabs in sme_mgt_packet_filter_set Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: inet.c: replaces spaces with tabsDevendra Naga1-4/+4
replace spaces with tabs at the start of line Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-01staging: csr: inet.c: single statement if blocks doesn't need bracesDevendra Naga1-4/+2
remove braces to single statement if blocks Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: csr_log_configure.h: remove a bunch of function protosDevendra Naga1-87/+0
all protos that are removed does not have a function definition so remove all of them together Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: remove csr_lib.hDevendra Naga2-181/+0
remove this header file as no struct or no function is defined else where in csr. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: os.c: remove braces around single statement blocksDevendra Naga1-8/+4
remove all braces around single statement if blocks Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: os.c: remove col variableDevendra Naga1-4/+2
theres no point in checking the col variable, its always zero, and wont print a new line, actually its better to have a new line after a set of characters printed, instead of confusing with the concatenated characters when called multiple times at a time. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: drv.c: replace spaces with tabs in uf_destroy_device_nodesDevendra Naga1-4/+4
replace spaces at the start of line with tabs Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: drv.c: replace spaces with tabsDevendra Naga1-27/+26
replace spaces at the start of the line with tabs Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: io.c: replace spaces with tabsDevendra Naga1-43/+43
replace the spaces with the tabs at the start of line Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-30staging: csr: Remove struct CsrEventSeongJae Park1-14/+0
Nobody use struct CsrEvent. So, remove it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-29staging : csr: Fix typo in csr/netdev.cMasanari Iida1-7/+7
Correct spelling typos in csr/netdev.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-29staging: csr: remove func_exit_r macroDevendra Naga7-109/+0
this macro is used for debugging purposes, it actually defined as if (unifi_debug >= 5) { printk("unifi: <= %s %d\n", __FUNCTION__, (int)rc); } which produces too many of those prints if the unifi_debug is >=5. remove these calls and the macro itself altogether Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-29staging: csr: remove func_exit macroDevendra Naga18-200/+0
this macro is used for debugging purposes, it actually defined as if (unifi_debug >= 5) { printk("unifi: <= %s\n", __FUNCTION__); } which produces too many of those prints if the unifi_debug is >=5. remove these calls and the macro itself altogether Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-29staging: csr: remove func_enter macroDevendra Naga17-214/+0
this macro is used for debugging purposes, it actually defined as if (unifi_debug >= 5) { printk("unifi => %s\n", __FUNCTION__); } which produces too many of those prints if the unifi_debug is >=5. remove these calls and the macro itself altogether Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26Staging: csr: remove CSRMIN() macroGreg Kroah-Hartman2-3/+1
Use the in-kernel min_t() macro for the one place it was being used. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26Staging: csr: csr_macro.h: remove unused macrosGreg Kroah-Hartman1-65/+0
Remove a bunch of unused #defines. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26Staging: csr: remove __cplusplus nonsense from the .h filesGreg Kroah-Hartman66-611/+0
In the kernel, we use C. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove unused macros and prototypesDevendra Naga1-73/+0
this file includes prototypes that doesnt have a function for them, and some macros which are never used, remove them instead Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove unused macros/ prototypes in csr_sched.hDevendra Naga1-114/+0
there are macros and functions that are not used, or their function is missing, so remove them. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove csrPanic and CSR_LOG_ASSERT and CSR_LOG_ASSERT_ENABLEDevendra Naga7-91/+1
these are not called at anypoint or enabled at anyplace in the code, remove them Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove all prototypes of not defined functionsDevendra Naga1-82/+0
these prototypes doesn't have function definitions in any of the c files Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove CsrMutexCreate functionDevendra Naga2-42/+0
nobody are calling this function in here, so remove this Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove CsrMutexDestroy functionDevendra Naga2-28/+0
this function never gets called from anywhere, so remove this too. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove CsrMutexUnlock functionDevendra Naga2-55/+0
Nobody is using this function inside the csr directory, so remove this function also Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-26staging: csr: remove CsrMutexLock functionDevendra Naga2-43/+0
nobody inside the csr directory is calling this function, so remove this Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-25staging: csr: csr_log.h: Fix coding styleSeongJae Park1-85/+80
Fix coding style for csr_log.h Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-25Staging: csr: bh.c: fixing spaces coding style issuesChihau Chau1-10/+9
Fixed some coding style issues replacing spaces for tab at the beginning of some lines Signed-off-by: Chihau Chau <chihau@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-25staging: csr: remove panic at locking the mutexDevendra Naga1-1/+0
when down_interruptible fail, means a signal occur, or any other failure we are panicing, and it seems that we should not panic, instead we would have done a spinlock, but currently removing the panic call. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-24staging: csr: remove unused function prototypesDevendra Naga1-85/+0
remove some of the function prototypes , they dont have a definition of the function Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-24staging: csr: remove the CsrTime typedef altogetherDevendra Naga10-48/+35
remove CsrTime typedef and replace all the users with the u32 Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-23staging: csr: Remove CsrThreadHandleSeongJae Park2-51/+0
CsrThreadHandle is typedef of struct CsrThread. Some functions in csr_framework_ext.h use it as parameter. But, nobody call them. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-23staging: csr: Remove struct CsrThreadSeongJae Park1-5/+0
Nobody use struct CsrThread. So, remove it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: fix code indent coding style issues in csr_wifi_hip_signals.hSunhee Hwang1-4/+4
This is a patch that fixes up code indent coding style warnings in the csr_wifi_hip_signals.h found by checkpatch.pl tool. Signed-off-by: Sunhee Hwang <sunheehwang821@gmail.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix line over 80 charactersJugwan Eom1-32/+34
This patch fixes line over 80 characters problem found by checkpatch.pl tool. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix tab messJugwan Eom1-31/+31
This patch converts spaces to tabs. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22Staging: csr: csr_wifi_router_ctrl_sef.c: fix up brace placementJugwan Eom1-2/+1
This patch fixes a brace placement error found by checkpatch.pl tool. Signed-off-by: Jugwan Eom <zugwan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_sef.h: fixed indentation warningsSangho Yi1-4/+4
Fixed indentation warnings on comments Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22staging: csr: csr_wifi_sme_serialize.h: fixed indentation warningsSangho Yi1-4/+4
Fixed indentation warnings from the comments. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>