aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/csr
diff options
context:
space:
mode:
authorHojung Youn <amoc.yn@gmail.com>2012-11-03 06:10:17 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-06 09:32:17 +0100
commit279dda68e2dcb19c46cb62dd2899d8dac6a9b7aa (patch)
treec3f38564179c35ed860f0ac28ed7516aa38552e9 /drivers/staging/csr
parent346cf14a962e8ea0d27681de1e930c7c63c43a4b (diff)
staging: csr: csr_wifi_hip_unifi_signal_names: fix indent
Fixed indent style in the csr_wifi_hip_unifi_signal_names.c file that were identified by checkpatch.pl tool. All whitespaced indents are converted into tab characters, except ones in the topmost commentation. Signed-off-by: Hojung Youn <amoc.yn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r--drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c b/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c
index 7c13df295c1..ddccf91bd13 100644
--- a/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c
+++ b/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c
@@ -12,35 +12,35 @@
struct sig_name
{
- s16 id;
- const char *name;
+ s16 id;
+ const char *name;
};
static const struct sig_name Unifi_bulkcmd_names[] = {
- { 0, "SignalCmd" },
- { 1, "CopyToHost" },
- { 2, "CopyToHostAck" },
- { 3, "CopyFromHost" },
- { 4, "CopyFromHostAck" },
- { 5, "ClearSlot" },
- { 6, "CopyOverlay" },
- { 7, "CopyOverlayAck" },
- { 8, "CopyFromHostAndClearSlot" },
- { 15, "Padding" }
+ { 0, "SignalCmd" },
+ { 1, "CopyToHost" },
+ { 2, "CopyToHostAck" },
+ { 3, "CopyFromHost" },
+ { 4, "CopyFromHostAck" },
+ { 5, "ClearSlot" },
+ { 6, "CopyOverlay" },
+ { 7, "CopyOverlayAck" },
+ { 8, "CopyFromHostAndClearSlot" },
+ { 15, "Padding" }
};
const char* lookup_bulkcmd_name(u16 id)
{
- if (id < 9)
- {
- return Unifi_bulkcmd_names[id].name;
- }
- if (id == 15)
- {
- return "Padding";
- }
-
- return "UNKNOWN";
+ if (id < 9)
+ {
+ return Unifi_bulkcmd_names[id].name;
+ }
+ if (id == 15)
+ {
+ return "Padding";
+ }
+
+ return "UNKNOWN";
}