diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-03-11 06:58:01 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-03-13 01:46:31 -0400 |
commit | 3629fa14388dbfcb150f5178a018b7eb265a1189 (patch) | |
tree | 34dfd9c7091439eaa17d74da1876464ed865320c /drivers/net/wireless/ath/ath6kl/sdio.c | |
parent | 31b9cc9a873dcab161999622314f98a75d838975 (diff) |
ath6kl: fix blank lines before and after braces
Fixes checkpatch warnings:
CHECK: Blank lines aren't necessary after an open brace '{'
CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/sdio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/sdio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c index 6bf15a331714..50e886a88dfc 100644 --- a/drivers/net/wireless/ath/ath6kl/sdio.c +++ b/drivers/net/wireless/ath/ath6kl/sdio.c | |||
@@ -656,7 +656,6 @@ static void ath6kl_sdio_scatter_req_add(struct ath6kl *ar, | |||
656 | list_add_tail(&s_req->list, &ar_sdio->scat_req); | 656 | list_add_tail(&s_req->list, &ar_sdio->scat_req); |
657 | 657 | ||
658 | spin_unlock_bh(&ar_sdio->scat_lock); | 658 | spin_unlock_bh(&ar_sdio->scat_lock); |
659 | |||
660 | } | 659 | } |
661 | 660 | ||
662 | /* scatter gather read write request */ | 661 | /* scatter gather read write request */ |
@@ -856,7 +855,6 @@ static int ath6kl_sdio_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) | |||
856 | 855 | ||
857 | if (ar->suspend_mode == WLAN_POWER_STATE_WOW || | 856 | if (ar->suspend_mode == WLAN_POWER_STATE_WOW || |
858 | (!ar->suspend_mode && wow)) { | 857 | (!ar->suspend_mode && wow)) { |
859 | |||
860 | ret = ath6kl_set_sdio_pm_caps(ar); | 858 | ret = ath6kl_set_sdio_pm_caps(ar); |
861 | if (ret) | 859 | if (ret) |
862 | goto cut_pwr; | 860 | goto cut_pwr; |
@@ -878,7 +876,6 @@ static int ath6kl_sdio_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) | |||
878 | 876 | ||
879 | if (ar->suspend_mode == WLAN_POWER_STATE_DEEP_SLEEP || | 877 | if (ar->suspend_mode == WLAN_POWER_STATE_DEEP_SLEEP || |
880 | !ar->suspend_mode || try_deepsleep) { | 878 | !ar->suspend_mode || try_deepsleep) { |
881 | |||
882 | flags = sdio_get_host_pm_caps(func); | 879 | flags = sdio_get_host_pm_caps(func); |
883 | if (!(flags & MMC_PM_KEEP_POWER)) | 880 | if (!(flags & MMC_PM_KEEP_POWER)) |
884 | goto cut_pwr; | 881 | goto cut_pwr; |
@@ -1061,7 +1058,6 @@ static int ath6kl_sdio_bmi_credits(struct ath6kl *ar) | |||
1061 | 1058 | ||
1062 | timeout = jiffies + msecs_to_jiffies(BMI_COMMUNICATION_TIMEOUT); | 1059 | timeout = jiffies + msecs_to_jiffies(BMI_COMMUNICATION_TIMEOUT); |
1063 | while (time_before(jiffies, timeout) && !ar->bmi.cmd_credits) { | 1060 | while (time_before(jiffies, timeout) && !ar->bmi.cmd_credits) { |
1064 | |||
1065 | /* | 1061 | /* |
1066 | * Hit the credit counter with a 4-byte access, the first byte | 1062 | * Hit the credit counter with a 4-byte access, the first byte |
1067 | * read will hit the counter and cause a decrement, while the | 1063 | * read will hit the counter and cause a decrement, while the |