aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2014-09-14 05:50:23 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2014-09-18 03:45:40 -0400
commitcfbc06a95b4ad6fd2462fa6505a49424db3cf54f (patch)
treee70736a10c8b8073a4a59629bacf8dae9e3e4d43 /drivers/net/wireless/ath/ath10k/pci.c
parentaf762c0b0de586937409346d94d1f09035a5e64f (diff)
ath10k: fix space after a cast style errors
Fixes checkpatch warnings: CHECK: No space is necessary after a cast Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/pci.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 52f273b92fa3..08e88a3758c1 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -340,8 +340,8 @@ static void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar)
340 340
341 /* IMPORTANT: this extra read transaction is required to 341 /* IMPORTANT: this extra read transaction is required to
342 * flush the posted write buffer. */ 342 * flush the posted write buffer. */
343 (void) ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS + 343 (void)ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS +
344 PCIE_INTR_ENABLE_ADDRESS); 344 PCIE_INTR_ENABLE_ADDRESS);
345} 345}
346 346
347static void ath10k_pci_enable_legacy_irq(struct ath10k *ar) 347static void ath10k_pci_enable_legacy_irq(struct ath10k *ar)
@@ -352,8 +352,8 @@ static void ath10k_pci_enable_legacy_irq(struct ath10k *ar)
352 352
353 /* IMPORTANT: this extra read transaction is required to 353 /* IMPORTANT: this extra read transaction is required to
354 * flush the posted write buffer. */ 354 * flush the posted write buffer. */
355 (void) ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS + 355 (void)ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRESS +
356 PCIE_INTR_ENABLE_ADDRESS); 356 PCIE_INTR_ENABLE_ADDRESS);
357} 357}
358 358
359static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) 359static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar)
@@ -547,7 +547,7 @@ static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data,
547 goto done; 547 goto done;
548 } 548 }
549 549
550 if (buf != (u32) address) { 550 if (buf != (u32)address) {
551 ret = -EIO; 551 ret = -EIO;
552 goto done; 552 goto done;
553 } 553 }
@@ -695,7 +695,7 @@ static int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address,
695 * Request CE to send caller-supplied data that 695 * Request CE to send caller-supplied data that
696 * was copied to bounce buffer to Target(!) address. 696 * was copied to bounce buffer to Target(!) address.
697 */ 697 */
698 ret = ath10k_ce_send(ce_diag, NULL, (u32) ce_data, 698 ret = ath10k_ce_send(ce_diag, NULL, (u32)ce_data,
699 nbytes, 0, 0); 699 nbytes, 0, 0);
700 if (ret != 0) 700 if (ret != 0)
701 goto done; 701 goto done;
@@ -1624,7 +1624,7 @@ static int ath10k_pci_ce_init(struct ath10k *ar)
1624 continue; 1624 continue;
1625 } 1625 }
1626 1626
1627 pipe_info->buf_sz = (size_t) (attr->src_sz_max); 1627 pipe_info->buf_sz = (size_t)(attr->src_sz_max);
1628 } 1628 }
1629 1629
1630 return 0; 1630 return 0;