aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/debug.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 13:03:57 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 13:03:57 -0500
commit96f1fadc94bc8dcde814109439e416143eed50fa (patch)
tree64ae9177db14f2d15d9954fd142480b11f0b19d3 /drivers/net/wireless/ath/ath6kl/debug.c
parentc650538f5dbb433f3438e7fcb0090c6d617b4a0e (diff)
ath6kl: alignment should match open parenthesis
Fix the issues which checkpatch found and were easy to fix. Especially callers of ath6kl_bmi_write() are tricky and that needs to be fixed separately. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.c')
-rwxr-xr-xdrivers/net/wireless/ath/ath6kl/debug.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c
index 4bebf8eb23d3..9170b05e5d87 100755
--- a/drivers/net/wireless/ath/ath6kl/debug.c
+++ b/drivers/net/wireless/ath/ath6kl/debug.c
@@ -119,29 +119,29 @@ void ath6kl_dump_registers(struct ath6kl_device *dev,
119 119
120 if (irq_proc_reg != NULL) { 120 if (irq_proc_reg != NULL) {
121 ath6kl_dbg(ATH6KL_DBG_IRQ, 121 ath6kl_dbg(ATH6KL_DBG_IRQ,
122 "Host Int status: 0x%x\n", 122 "Host Int status: 0x%x\n",
123 irq_proc_reg->host_int_status); 123 irq_proc_reg->host_int_status);
124 ath6kl_dbg(ATH6KL_DBG_IRQ, 124 ath6kl_dbg(ATH6KL_DBG_IRQ,
125 "CPU Int status: 0x%x\n", 125 "CPU Int status: 0x%x\n",
126 irq_proc_reg->cpu_int_status); 126 irq_proc_reg->cpu_int_status);
127 ath6kl_dbg(ATH6KL_DBG_IRQ, 127 ath6kl_dbg(ATH6KL_DBG_IRQ,
128 "Error Int status: 0x%x\n", 128 "Error Int status: 0x%x\n",
129 irq_proc_reg->error_int_status); 129 irq_proc_reg->error_int_status);
130 ath6kl_dbg(ATH6KL_DBG_IRQ, 130 ath6kl_dbg(ATH6KL_DBG_IRQ,
131 "Counter Int status: 0x%x\n", 131 "Counter Int status: 0x%x\n",
132 irq_proc_reg->counter_int_status); 132 irq_proc_reg->counter_int_status);
133 ath6kl_dbg(ATH6KL_DBG_IRQ, 133 ath6kl_dbg(ATH6KL_DBG_IRQ,
134 "Mbox Frame: 0x%x\n", 134 "Mbox Frame: 0x%x\n",
135 irq_proc_reg->mbox_frame); 135 irq_proc_reg->mbox_frame);
136 ath6kl_dbg(ATH6KL_DBG_IRQ, 136 ath6kl_dbg(ATH6KL_DBG_IRQ,
137 "Rx Lookahead Valid: 0x%x\n", 137 "Rx Lookahead Valid: 0x%x\n",
138 irq_proc_reg->rx_lkahd_valid); 138 irq_proc_reg->rx_lkahd_valid);
139 ath6kl_dbg(ATH6KL_DBG_IRQ, 139 ath6kl_dbg(ATH6KL_DBG_IRQ,
140 "Rx Lookahead 0: 0x%x\n", 140 "Rx Lookahead 0: 0x%x\n",
141 irq_proc_reg->rx_lkahd[0]); 141 irq_proc_reg->rx_lkahd[0]);
142 ath6kl_dbg(ATH6KL_DBG_IRQ, 142 ath6kl_dbg(ATH6KL_DBG_IRQ,
143 "Rx Lookahead 1: 0x%x\n", 143 "Rx Lookahead 1: 0x%x\n",
144 irq_proc_reg->rx_lkahd[1]); 144 irq_proc_reg->rx_lkahd[1]);
145 145
146 if (dev->ar->mbox_info.gmbox_addr != 0) { 146 if (dev->ar->mbox_info.gmbox_addr != 0) {
147 /* 147 /*
@@ -149,27 +149,27 @@ void ath6kl_dump_registers(struct ath6kl_device *dev,
149 * additional state. 149 * additional state.
150 */ 150 */
151 ath6kl_dbg(ATH6KL_DBG_IRQ, 151 ath6kl_dbg(ATH6KL_DBG_IRQ,
152 "GMBOX Host Int status 2: 0x%x\n", 152 "GMBOX Host Int status 2: 0x%x\n",
153 irq_proc_reg->host_int_status2); 153 irq_proc_reg->host_int_status2);
154 ath6kl_dbg(ATH6KL_DBG_IRQ, 154 ath6kl_dbg(ATH6KL_DBG_IRQ,
155 "GMBOX RX Avail: 0x%x\n", 155 "GMBOX RX Avail: 0x%x\n",
156 irq_proc_reg->gmbox_rx_avail); 156 irq_proc_reg->gmbox_rx_avail);
157 ath6kl_dbg(ATH6KL_DBG_IRQ, 157 ath6kl_dbg(ATH6KL_DBG_IRQ,
158 "GMBOX lookahead alias 0: 0x%x\n", 158 "GMBOX lookahead alias 0: 0x%x\n",
159 irq_proc_reg->rx_gmbox_lkahd_alias[0]); 159 irq_proc_reg->rx_gmbox_lkahd_alias[0]);
160 ath6kl_dbg(ATH6KL_DBG_IRQ, 160 ath6kl_dbg(ATH6KL_DBG_IRQ,
161 "GMBOX lookahead alias 1: 0x%x\n", 161 "GMBOX lookahead alias 1: 0x%x\n",
162 irq_proc_reg->rx_gmbox_lkahd_alias[1]); 162 irq_proc_reg->rx_gmbox_lkahd_alias[1]);
163 } 163 }
164 164
165 } 165 }
166 166
167 if (irq_enable_reg != NULL) { 167 if (irq_enable_reg != NULL) {
168 ath6kl_dbg(ATH6KL_DBG_IRQ, 168 ath6kl_dbg(ATH6KL_DBG_IRQ,
169 "Int status Enable: 0x%x\n", 169 "Int status Enable: 0x%x\n",
170 irq_enable_reg->int_status_en); 170 irq_enable_reg->int_status_en);
171 ath6kl_dbg(ATH6KL_DBG_IRQ, "Counter Int status Enable: 0x%x\n", 171 ath6kl_dbg(ATH6KL_DBG_IRQ, "Counter Int status Enable: 0x%x\n",
172 irq_enable_reg->cntr_int_status_en); 172 irq_enable_reg->cntr_int_status_en);
173 } 173 }
174 ath6kl_dbg(ATH6KL_DBG_IRQ, "<------------------------------->\n"); 174 ath6kl_dbg(ATH6KL_DBG_IRQ, "<------------------------------->\n");
175} 175}
@@ -1804,19 +1804,19 @@ int ath6kl_debug_init_fs(struct ath6kl *ar)
1804 ar->debugfs_phy, ar, &fops_disconnect_timeout); 1804 ar->debugfs_phy, ar, &fops_disconnect_timeout);
1805 1805
1806 debugfs_create_file("create_qos", S_IWUSR, ar->debugfs_phy, ar, 1806 debugfs_create_file("create_qos", S_IWUSR, ar->debugfs_phy, ar,
1807 &fops_create_qos); 1807 &fops_create_qos);
1808 1808
1809 debugfs_create_file("delete_qos", S_IWUSR, ar->debugfs_phy, ar, 1809 debugfs_create_file("delete_qos", S_IWUSR, ar->debugfs_phy, ar,
1810 &fops_delete_qos); 1810 &fops_delete_qos);
1811 1811
1812 debugfs_create_file("bgscan_interval", S_IWUSR, 1812 debugfs_create_file("bgscan_interval", S_IWUSR,
1813 ar->debugfs_phy, ar, &fops_bgscan_int); 1813 ar->debugfs_phy, ar, &fops_bgscan_int);
1814 1814
1815 debugfs_create_file("listen_interval", S_IRUSR | S_IWUSR, 1815 debugfs_create_file("listen_interval", S_IRUSR | S_IWUSR,
1816 ar->debugfs_phy, ar, &fops_listen_int); 1816 ar->debugfs_phy, ar, &fops_listen_int);
1817 1817
1818 debugfs_create_file("power_params", S_IWUSR, ar->debugfs_phy, ar, 1818 debugfs_create_file("power_params", S_IWUSR, ar->debugfs_phy, ar,
1819 &fops_power_params); 1819 &fops_power_params);
1820 1820
1821 return 0; 1821 return 0;
1822} 1822}