Skip to content

Commit

Permalink
ath9k_htc: fix up indents with spaces
Browse files Browse the repository at this point in the history
Use tabs here.  Found by smatch.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Bob Copeland authored and Kalle Valo committed Mar 11, 2016
1 parent 1451a36 commit c8c91b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/net/wireless/ath/ath9k/htc_drv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,11 @@ static void ath9k_multi_regread(void *hw_priv, u32 *addr,
__be32 tmpval[8];
int i, ret;

for (i = 0; i < count; i++) {
tmpaddr[i] = cpu_to_be32(addr[i]);
}
for (i = 0; i < count; i++) {
tmpaddr[i] = cpu_to_be32(addr[i]);
}

ret = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID,
ret = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID,
(u8 *)tmpaddr , sizeof(u32) * count,
(u8 *)tmpval, sizeof(u32) * count,
100);
Expand All @@ -275,9 +275,9 @@ static void ath9k_multi_regread(void *hw_priv, u32 *addr,
"Multiple REGISTER READ FAILED (count: %d)\n", count);
}

for (i = 0; i < count; i++) {
val[i] = be32_to_cpu(tmpval[i]);
}
for (i = 0; i < count; i++) {
val[i] = be32_to_cpu(tmpval[i]);
}
}

static void ath9k_regwrite_multi(struct ath_common *common)
Expand Down

0 comments on commit c8c91b0

Please sign in to comment.