staging: rtl8723bs: Move definition open brace
authorHenriette Hofmeier <passt@h-hofmeier.de>
Fri, 22 Jun 2018 14:01:57 +0000 (16:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 13:05:05 +0000 (22:05 +0900)
Move open braces of definitions to the next line
to comply with codestyle.
Criticized by checkpatch.

Signed-off-by: Henriette Hofmeier <passt@h-hofmeier.de>
Signed-off-by: Florian Harbecke <florian.harbecke@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index a81e13011c497842869351ebe94ada66c1a84e8a..0952d15f6d40f66243cc8c91e7d109fb749886f2 100644 (file)
@@ -331,7 +331,8 @@ static void init_mlme_ext_priv_value(struct adapter *padapter)
 
 static int has_channel(RT_CHANNEL_INFO *channel_set,
                                           u8 chanset_size,
-                                          u8 chan) {
+                                          u8 chan)
+{
        int i;
 
        for (i = 0; i < chanset_size; i++) {
@@ -345,7 +346,8 @@ static int has_channel(RT_CHANNEL_INFO *channel_set,
 
 static void init_channel_list(struct adapter *padapter, RT_CHANNEL_INFO *channel_set,
                                                          u8 chanset_size,
-                                                         struct p2p_channels *channel_list) {
+                                                         struct p2p_channels *channel_list)
+{
 
        struct p2p_oper_class_map op_class[] = {
                { IEEE80211G,  81,   1,  13,  1, BW20 },