Commit 279dda68 authored by Hojung Youn's avatar Hojung Youn Committed by Greg Kroah-Hartman

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: default avatarHojung Youn <amoc.yn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 346cf14a
...@@ -12,35 +12,35 @@ ...@@ -12,35 +12,35 @@
struct sig_name struct sig_name
{ {
s16 id; s16 id;
const char *name; const char *name;
}; };
static const struct sig_name Unifi_bulkcmd_names[] = { static const struct sig_name Unifi_bulkcmd_names[] = {
{ 0, "SignalCmd" }, { 0, "SignalCmd" },
{ 1, "CopyToHost" }, { 1, "CopyToHost" },
{ 2, "CopyToHostAck" }, { 2, "CopyToHostAck" },
{ 3, "CopyFromHost" }, { 3, "CopyFromHost" },
{ 4, "CopyFromHostAck" }, { 4, "CopyFromHostAck" },
{ 5, "ClearSlot" }, { 5, "ClearSlot" },
{ 6, "CopyOverlay" }, { 6, "CopyOverlay" },
{ 7, "CopyOverlayAck" }, { 7, "CopyOverlayAck" },
{ 8, "CopyFromHostAndClearSlot" }, { 8, "CopyFromHostAndClearSlot" },
{ 15, "Padding" } { 15, "Padding" }
}; };
const char* lookup_bulkcmd_name(u16 id) const char* lookup_bulkcmd_name(u16 id)
{ {
if (id < 9) if (id < 9)
{ {
return Unifi_bulkcmd_names[id].name; return Unifi_bulkcmd_names[id].name;
} }
if (id == 15) if (id == 15)
{ {
return "Padding"; return "Padding";
} }
return "UNKNOWN"; return "UNKNOWN";
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment