Skip to content

Commit

Permalink
staging: csr: csr_wifi_hip_unifi_signal_names: fix indent
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hojung Youn authored and Greg Kroah-Hartman committed Nov 6, 2012
1 parent 346cf14 commit 279dda6
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}


0 comments on commit 279dda6

Please sign in to comment.