staging: rtl8723bs: Fix space before '[' error.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 25 Oct 2017 15:57:48 +0000 (21:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 11:49:58 +0000 (12:49 +0100)
Fix checkpatch.pl error:
ERROR: space prohibited before open square bracket '['.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/rtw_proc.c

index ce1dd6f9036fd6caff1716ef06a8838e9e136be4..9a885e626d1ca95e31b7335a903c5047afcd5d55 100644 (file)
@@ -87,7 +87,7 @@ static ssize_t proc_set_log_level(struct file *file, const char __user *buffer,
 * rtw_drv_proc:
 * init/deinit when register/unregister driver
 */
-static const struct rtw_proc_hdl drv_proc_hdls [] = {
+static const struct rtw_proc_hdl drv_proc_hdls[] = {
        {"ver_info", proc_get_drv_version, NULL},
        {"log_level", proc_get_log_level, proc_set_log_level},
 };
@@ -365,7 +365,7 @@ static int proc_get_cam_cache(struct seq_file *m, void *v)
 * rtw_adapter_proc:
 * init/deinit when register/unregister net_device
 */
-static const struct rtw_proc_hdl adapter_proc_hdls [] = {
+static const struct rtw_proc_hdl adapter_proc_hdls[] = {
        {"write_reg", proc_get_dummy, proc_set_write_reg},
        {"read_reg", proc_get_read_reg, proc_set_read_reg},
        {"fwstate", proc_get_fwstate, NULL},
@@ -600,7 +600,7 @@ ssize_t proc_set_odm_adaptivity(struct file *file, const char __user *buffer, si
 * rtw_odm_proc:
 * init/deinit when register/unregister net_device, along with rtw_adapter_proc
 */
-static const struct rtw_proc_hdl odm_proc_hdls [] = {
+static const struct rtw_proc_hdl odm_proc_hdls[] = {
        {"dbg_comp", proc_get_odm_dbg_comp, proc_set_odm_dbg_comp},
        {"dbg_level", proc_get_odm_dbg_level, proc_set_odm_dbg_level},
        {"ability", proc_get_odm_ability, proc_set_odm_ability},