Staging: vt6655: Alignment of function parameters
PATCH v3 1/1 Staging: vt6655: Alignment of function parameters
This patch align the function parameters to improve readibility.
---
Changes in v2
-Make a commit message imperative
-Use multiple lines to improve readibility
Changes in v3
-Commit message and subject line are modified
-Alignment of function parameters
--- drivers/staging/vt6655/baseband.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/vt6655/baseband.c +3 -3
@@ -1705,9 +1705,9 @@ static const unsigned short awcFrameTime[MAX_RATE] = {* */ unsigned int BBuGetFrameTime (unsigned char byPreambleType, -unsigned char byPktType, -unsigned int cbFrameLength, -unsigned short wRate) +unsigned char byPktType, +unsigned int cbFrameLength, +unsigned short wRate) {unsigned int uFrameTime;unsigned int uPreamble;
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 21 lines · Madhumitha Prabakaran
This patch align the function parameters to improve readibility.
Signed-off-by Madhumitha Prabakaran <[email protected]>---
Changes in v2(quoted diff) +0
-2-Make a commit message imperative -Use multiple lines to improve readibilityChanges in v3
(quoted diff) +0
-3-Commit message and subject line are modified -Alignment of function parameters --- drivers/staging/vt6655/baseband.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/vt6655/baseband.c +0
-0
drivers/staging/vt6655/baseband.c static const unsigned short awcFrameTime[MAX_RATE] = { · line 1710
Quoted 9 lines
drivers/staging/vt6655/baseband.c +3
-3@@ -1705,9 +1705,9 @@ static const unsigned short awcFrameTime[MAX_RATE] = {* */ unsigned int BBuGetFrameTime (unsigned char byPreambleType, -unsigned char byPktType, -unsigned int cbFrameLength, -unsigned short wRate) +unsigned char byPktType, +unsigned int cbFrameLength, +unsigned short wRate)
They should line up with the variable above it, so this should end up looking like:
unsigned int BBuGetFrameTime(unsigned char byPreambleType,
unsigned char byPktType, unsigned int cbFrameLength, unsigned short wRate)
But, given that there is no need to put one variable per line, you can shorten this and make it look like:
unsigned int BBuGetFrameTime(unsigned char byPreambleType,
unsigned char byPktType,
unsigned int cbFrameLength, unsigned short wRate)
thanks,
greg k-h