ath10k: indentation fixes
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Oct 2015 14:56:35 +0000 (17:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 6 Oct 2015 11:40:38 +0000 (14:40 +0300)
checkpatch found:

drivers/net/wireless/ath/ath10k/core.c:513: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/core.c:1266: code indent should use tabs where possible
drivers/net/wireless/ath/ath10k/core.c:1267: code indent should use tabs where possible
drivers/net/wireless/ath/ath10k/core.c:1268: code indent should use tabs where possible
drivers/net/wireless/ath/ath10k/core.c:1269: code indent should use tabs where possible
drivers/net/wireless/ath/ath10k/mac.c:4659: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/mac.c:6271: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/pci.c:2260: Alignment should match open parenthesis
drivers/net/wireless/ath/ath10k/wmi.c:3510: Alignment should match open parenthesis

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/wmi.c

index 87ad2e998a94f6ac942b71dd40b689ebca7668fb..12fef599debe46ef44dcb63378a8bd6e25108639 100644 (file)
@@ -510,7 +510,7 @@ static int ath10k_download_fw(struct ath10k *ar, enum ath10k_firmware_mode mode)
                data_len = ar->firmware_len;
                mode_name = "normal";
                ret = ath10k_swap_code_seg_configure(ar,
-                               ATH10K_SWAP_CODE_SEG_BIN_TYPE_FW);
+                                                    ATH10K_SWAP_CODE_SEG_BIN_TYPE_FW);
                if (ret) {
                        ath10k_err(ar, "failed to configure fw code swap: %d\n",
                                   ret);
@@ -1263,10 +1263,10 @@ int ath10k_core_start(struct ath10k *ar, enum ath10k_firmware_mode mode)
                goto err;
 
        /* Some of of qca988x solutions are having global reset issue
-         * during target initialization. Bypassing PLL setting before
-         * downloading firmware and letting the SoC run on REF_CLK is
-         * fixing the problem. Corresponding firmware change is also needed
-         * to set the clock source once the target is initialized.
+        * during target initialization. Bypassing PLL setting before
+        * downloading firmware and letting the SoC run on REF_CLK is
+        * fixing the problem. Corresponding firmware change is also needed
+        * to set the clock source once the target is initialized.
         */
        if (test_bit(ATH10K_FW_FEATURE_SUPPORTS_SKIP_CLOCK_INIT,
                     ar->fw_features)) {
index 3f6c1c42a70f6c6f1450bc16e6b444de25107ff9..3106e3bfa5150128e602c589a439d5aa0f0c9404 100644 (file)
@@ -4656,7 +4656,7 @@ static void ath10k_bss_info_changed(struct ieee80211_hw *hw,
                                                info->use_cts_prot ? 1 : 0);
                if (ret)
                        ath10k_warn(ar, "failed to set protection mode %d on vdev %i: %d\n",
-                                       info->use_cts_prot, arvif->vdev_id, ret);
+                                   info->use_cts_prot, arvif->vdev_id, ret);
        }
 
        if (changed & BSS_CHANGED_ERP_SLOT) {
@@ -6268,8 +6268,8 @@ ath10k_mac_update_rx_channel(struct ath10k *ar,
        rcu_read_lock();
        if (!ctx && ath10k_mac_num_chanctxs(ar) == 1) {
                ieee80211_iter_chan_contexts_atomic(ar->hw,
-                                       ath10k_mac_get_any_chandef_iter,
-                                       &def);
+                                                   ath10k_mac_get_any_chandef_iter,
+                                                   &def);
 
                if (vifs)
                        def = &vifs[0].new_ctx->def;
index 110fcad609b900f9abe32aec3f6e0ab8b8df6e63..08cc4304001e11b50d67cdc2214ba966206d022c 100644 (file)
@@ -2257,7 +2257,7 @@ static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar)
        ret = ath10k_pci_wait_for_target_init(ar);
        if (ret) {
                ath10k_warn(ar, "failed to wait for target after cold reset: %d\n",
-                               ret);
+                           ret);
                return ret;
        }
 
index 87d9de2aa8c50792ea266417ebd524e93a5a119c..0c7a233a223c325ce438de2dcc89cd2d32d679ec 100644 (file)
@@ -3507,7 +3507,7 @@ void ath10k_wmi_event_spectral_scan(struct ath10k *ar,
                                                          tsf);
                        if (res < 0) {
                                ath10k_dbg(ar, ATH10K_DBG_WMI, "failed to process fft report: %d\n",
-                                           res);
+                                          res);
                                return;
                        }
                        break;