Fixed all the errors related to spacing found by checkpatch.pl script
Signed-off-by: Gokulnath A <[email protected]>
---
drivers/staging/rtl8821ae/pci.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/rtl8821ae/pci.c b/drivers/staging/rtl8821ae/pci.c
index 3962634..694366e 100644
--- a/drivers/staging/rtl8821ae/pci.c
+++ b/drivers/staging/rtl8821ae/pci.c
@@ -655,7 +655,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int
prio)
skb->len, PCI_DMA_TODEVICE);
/* remove early mode header */
- if(rtlpriv->rtlhal.b_earlymode_enable)
+ if (rtlpriv->rtlhal.b_earlymode_enable)
skb_pull(skb, EM_HDR_LEN);
RT_TRACE((COMP_INTR | COMP_SEND), DBG_TRACE,
@@ -665,7 +665,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int
prio)
skb_queue_len(&ring->queue),
*(u16 *) (skb->data + 22)));
- if(prio == TXCMD_QUEUE) {
+ if (prio == TXCMD_QUEUE) {
dev_kfree_skb(skb);
goto tx_status_ok;
@@ -676,7 +676,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int
prio)
* rf to sleep*/
fc = rtl_get_fc(skb);
if (ieee80211_is_nullfunc(fc)) {
- if(ieee80211_has_pm(fc)) {
+ if (ieee80211_has_pm(fc)) {
rtlpriv->mac80211.offchan_deley = true;
rtlpriv->psc.state_inap = 1;
} else {
@@ -1149,7 +1149,7 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void
*dev_id)
}
- if(rtlpriv->rtlhal.b_earlymode_enable)
+ if (rtlpriv->rtlhal.b_earlymode_enable)
tasklet_schedule(&rtlpriv->works.irq_tasklet);
rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[MAC_HIMR],
@@ -1640,7 +1640,7 @@ static bool rtl_pci_tx_chk_waitq_insert(struct
ieee80211_hw *hw,
u8 tid = rtl_get_tid(skb);
u16 fc = rtl_get_fc(skb);
- if(!sta)
+ if (!sta)
return false;
sta_entry = (struct rtl_sta_info *)sta->drv_priv;
@@ -2016,7 +2016,7 @@ static bool _rtl_pci_find_adapter(struct pci_dev *pdev,
break;
}
- } else if(deviceid == RTL_PCI_8723AE_DID) {
+ } else if (deviceid == RTL_PCI_8723AE_DID) {
rtlhal->hw_type = HARDWARE_TYPE_RTL8723AE;
RT_TRACE(COMP_INIT, DBG_DMESG,
("8723AE PCI-E is found - "
@@ -2035,15 +2035,15 @@ static bool _rtl_pci_find_adapter(struct pci_dev *pdev,
RT_TRACE(COMP_INIT, DBG_DMESG,
("8192D PCI-E is found - "
"vid/did=%x/%x\n", venderid, deviceid));
- } else if(deviceid == RTL_PCI_8188EE_DID){
+ } else if (deviceid == RTL_PCI_8188EE_DID) {
rtlhal->hw_type = HARDWARE_TYPE_RTL8188EE;
RT_TRACE(COMP_INIT, DBG_LOUD,
("Find adapter, Hardware type is 8188EE\n"));
- } else if (deviceid == RTL_PCI_8723BE_DID){
+ } else if (deviceid == RTL_PCI_8723BE_DID) {
rtlhal->hw_type = HARDWARE_TYPE_RTL8723BE;
RT_TRACE(COMP_INIT, DBG_LOUD,
("Find adapter, Hardware type is 8723BE\n"));
- } else if (deviceid == RTL_PCI_8192EE_DID){
+ } else if (deviceid == RTL_PCI_8192EE_DID) {
rtlhal->hw_type = HARDWARE_TYPE_RTL8192EE;
RT_TRACE(COMP_INIT, DBG_LOUD,
("Find adapter, Hardware type is 8192EE\n"));
@@ -2335,7 +2335,7 @@ int __devinit rtl_pci_probe(struct pci_dev *pdev,
/* find adapter */
/* if chip not support, will return false */
- if(!_rtl_pci_find_adapter(pdev, hw))
+ if (!_rtl_pci_find_adapter(pdev, hw))
goto fail3;
/* Init IO handler */
--
1.8.1.2
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel