staging: rtlwifi: fix parenthesis alignment
authorTobin C. Harding <me@tobin.cc>
Tue, 5 Sep 2017 06:53:42 +0000 (16:53 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:25 +0000 (16:35 +0200)
Checkpatch emits multiple warnings of type

CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis

Fix parenthesis alignment in line with checkpatch suggestion.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/core.c

index d33847d0550dedc54d5a4b9c6b2b9f3f0977d136..6ddf7e8cace184272f57b9614bc8611df7579009 100644 (file)
@@ -1160,7 +1160,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
                        if (rtlpriv->dm.supp_phymode_switch) {
                                if (sta->ht_cap.ht_supported)
                                        rtl_send_smps_action(hw, sta,
-                                                       IEEE80211_SMPS_STATIC);
+                                                            IEEE80211_SMPS_STATIC);
                        }
 
                        if (rtlhal->current_bandtype == BAND_ON_5G) {
@@ -1224,7 +1224,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
                                cfg80211_unlink_bss(hw->wiphy, bss);
                                cfg80211_put_bss(hw->wiphy, bss);
                                RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG,
-                                       "cfg80211_unlink !!\n");
+                                        "cfg80211_unlink !!\n");
                        }
 
                        eth_zero_addr(mac->bssid);
@@ -1885,7 +1885,7 @@ bool rtl_hal_pwrseqcmdparsing(struct rtl_priv *rtlpriv, u8 cut_version,
                                break;
                        case PWR_CMD_WRITE:
                                RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE,
-                                       "%s(): PWR_CMD_WRITE\n", __func__);
+                                        "%s(): PWR_CMD_WRITE\n", __func__);
                                offset = GET_PWR_CFG_OFFSET(cfg_cmd);
 
                                /*Read the value from system register*/