Anjali Menon
4ddc2f06c8
staging: dgnc: Fixed line over 80 characters long
...
This is a patch that fixes line over 80 characters coding style
warning detected by checkpatch.pl.
WARNING: line over 80 characters
Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Samuel Dominguez Lorenzo
4579ec9af0
staging: rtl8712: usb_ops_linux: fixed a comparison coding style issue
...
Fixed a coding style issue where a comparison had the constant on the
left side of the test instead of being on the right side of it.
Signed-off-by: Samuel Dominguez Lorenzo <yysamueldominguez@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Julia Lawall
ce85ed4d15
staging: lustre: drop null test before destroy functions
...
Remove unneeded NULL test.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression x;
@@
-if (x != NULL)
\(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
@@
expression x;
@@
-if (x != NULL) {
\(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
x = NULL;
-}
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Mike Rapoport
910b551c85
staging: lustre: fix TRAILING_STATEMENTS checkpatch errors
...
Move trailing statements to be on the next line to fix the
TRAILING_STATEMENTS checkpatch error.
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Mike Rapoport
a05b98635b
staging: lustre: fix switch-case identation errors
...
Re-indent switch-case statements to fix SWITCH_CASE_INDENT_LEVEL errors
reported by checkpatch.pl
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Shraddha Barke
046225e799
Staging: ft1000: use usleep_range()
...
This patch fixes checkpatch.pl warning
WARNING : msleep < 20ms can sleep for up to 20ms; see
Documentation/timers/timers-howto.txt
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:44 -07:00
Shraddha Barke
52a59cf1e7
Staging: ft1000: ft1000-usb: Use USB API functions rather than constants
...
Introduce the use of the function usb_endpoint_is_bulk_in().
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
12a26a33fe
staging: wilc1000: rename WILC_WFI_mgmt_tx
...
This patch replaces WILC_WFI_mgmt_tx with mgmt_tx to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
4a2f9b38a5
staging: wilc1000: rename WILC_WFI_mgmt_tx_cancel_wait
...
This patch replaces WILC_WFI_mgmt_tx_cancel_wait with
mgmt_tx_cancel_wait to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
1dd5440b60
staging: wilc1000: rename WILC_WFI_cancel_remain_on_channel
...
This patch replaces WILC_WFI_cancel_remain_on_channel with
cancel_remain_on_channel to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
6d19d695e0
staging: wilc1000: rename WILC_WFI_remain_on_channel
...
This patch replaces WILC_WFI_remain_on_channel with remain_on_channel
to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
b33c39b1f3
staging: wilc1000: rename WILC_WFI_flush_pmksa
...
This patch replaces WILC_WFI_flush_pmksa with flush_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
1ff86d9605
staging: wilc1000: rename WILC_WFI_del_pmksa
...
This patch replaces WILC_WFI_del_pmksa with del_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
4d46657a23
staging: wilc1000: rename WILC_WFI_set_pmksa
...
This patch replaces WILC_WFI_set_pmksa with set_pmksa to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
a76b63ef57
staging: wilc1000: rename WILC_WFI_set_wiphy_params
...
This patch replaces WILC_WFI_set_wiphy_params with set_wiphy_params to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:43 -07:00
Chaehyun Lim
a5f7db6aaa
staging: wilc1000: rename WILC_WFI_change_bss
...
This patch replaces WILC_WFI_change_bss with change_bss to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
bdb6338f6f
staging: wilc1000: rename WILC_WFI_dump_station
...
This patch replaces WILC_WFI_dump_station with dump_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
f06f562dd1
staging: wilc1000: rename WILC_WFI_get_station
...
This patch replaces WILC_WFI_get_station with get_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
14b420849b
staging: wilc1000: rename WILC_WFI_change_station
...
This patch replaces WILC_WFI_change_station with change_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
a0a8be95cc
staging: wilc1000: rename WILC_WFI_del_station
...
This patch replaces WILC_WFI_del_station with del_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
ed26955ca0
staging: wilc1000: rename WILC_WFI_add_station
...
This patch replaces WILC_WFI_add_station with add_station to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
c8cddd7917
staging: wilc1000: rename WILC_WFI_stop_ap
...
This patch replaces WILC_WFI_stop_ap with stop_ap to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
2a4c84d7a0
staging: wilc1000: rename WILC_WFI_change_beacon
...
This patch replaces WILC_WFI_change_beacon with change_beacon to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
a13168d75b
staging: wilc1000: rename WILC_WFI_start_ap
...
This patch replaces WILC_WFI_start_ap with start_ap to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:42 -07:00
Chaehyun Lim
3615e9a367
staging: wilc1000: rename WILC_WFI_change_virt_intf
...
This patch replaces WILC_WFI_change_virt_intf with change_virtual_intf
to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
b4a7335584
staging: wilc1000: rename WILC_WFI_del_virt_intf
...
This patch replaces WILC_WFI_del_virt_intf with del_virtual_intf to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
69deb4c2a1
staging: wilc1000: rename WILC_WFI_add_virt_intf
...
This patch replaces WILC_WFI_add_virt_intf with add_virtual_intf to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
0f5b8ca323
staging: wilc1000: rename WILC_WFI_set_default_key
...
This patch replaces WILC_WFI_set_default_key with set_default_key to
avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
f4893dfc31
staging: wilc1000: rename WILC_WFI_get_key
...
This patch replaces WILC_WFI_get_key with get_key to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
3044ba7e6f
staging: wilc1000: rename WILC_WFI_del_key
...
This patch replaces WILC_WFI_del_key with del_key to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
953d417a0d
staging: wilc1000: rename WILC_WFI_add_key
...
This patch replaces WILC_WFI_add_key with add_key to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
b027cde950
staging: wilc1000: rename WILC_WFI_disconnect
...
This patch replaces WILC_WFI_disconnect with disconnect to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
4ffbcdb6de
staging: wilc1000: rename WILC_WFI_CfgConnect
...
This patch replaces WILC_WFI_CfgConnect with connect to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:41 -07:00
Chaehyun Lim
0e30d06d9b
staging: wilc1000: rename WILC_WFI_CfgScan
...
This patch replaces WILC_WFI_CfgScan with scan to avoid CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:40 -07:00
Chaehyun Lim
80785a9a82
staging: wilc1000: rename WILC_WFI_CfgSetChannel
...
This patch replaces WILC_WFI_CfgSetChannel with set_channel to avoid
CamelCase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:40 -07:00
Axel Lin
f9db385df2
staging: wilc1000: Add terminating entry for wilc_sdio_ids
...
The sdio_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-14 08:50:40 -07:00
Sudip Mukherjee
e714b7eab1
staging: fbtft: change log level
...
Reduce the log level of some of the pr_* calls and remove 2 pr_debug
calls which just prints "init" and "exit".
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:02 -07:00
Sudip Mukherjee
805deadbc2
staging: fbtft: start using pr_fmt
...
Instead of defining DRVNAME and using it in all calls to pr_* family of
macros lets start using pr_fmt.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:02 -07:00
Sudip Mukherjee
962539a068
staging: fbtft: use dev_*
...
Use dev_* family of macros where we have a reference of a device.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:02 -07:00
Shraddha Barke
b92ae1fd84
Staging: rtl8188eu: os_dep: osdep_service.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:02 -07:00
Shraddha Barke
a08cd2b7d0
Staging: rtl8188eu: os_dep: mlme_linux.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:02 -07:00
Shraddha Barke
fc749a9a3d
Staging: rtl8188eu: os_dep: recv_linux.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
b210e0dc60
Staging: rtl8188eu: hal: rtl8188eu_xmit.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
cfd23644a8
Staging: rtl8188eu: hal: Hal8188ERateAdaptive.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
5228fb63a1
Staging: rtl8188eu: hal: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
11d5c7894b
Staging: lustre: obdclass: genops.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
dd550e40e1
Staging: lustre: obdclass: obd_config.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:01 -07:00
Shraddha Barke
fdf21a324c
Staging: lustre: libcfs: libcfs_mem.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:00 -07:00
Shraddha Barke
0ecacb4e43
Staging: lustre: libcfs: libcfs_lock.c: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:00 -07:00
Shraddha Barke
e3789b0c54
Staging: rtl8188eu: Remove explicit NULL comparison
...
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-09-12 18:25:00 -07:00