Skip to contentSkip to conversation

Staging: vt6655: Align a static function declaration

PATCH In review Madhumitha Prabakaran 2 participants 2 messages Feb 27, 2019 – Feb 28, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 Staging: vt6655: Align a static function declaration

Align function arguments and function return type to improve readability.

---
Changes in v4
- Commit log and code diff is matching

Changes in v3
- Included driver name in subject line

Changes in v2
- Improved alignment of function declaration
- Modified subject line and commit log

---
 drivers/staging/vt6655/card.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/vt6655/card.c +2 -1
index 5c1034dec193..6ecbe925026d 100644
@@ -61,7 +61,8 @@ static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
 /*---------------------  Static Functions  --------------------------*/
 
 static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
-				       unsigned char *pbyTxRate, unsigned char *pbyRsvTime);
+				       unsigned char *pbyTxRate,
+				       unsigned char *pbyRsvTime);
 
 /*---------------------  Export Functions  --------------------------*/
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 24 lines · Madhumitha Prabakaran

Align function arguments and function return type to improve readability.

---
Changes in v4
- Commit log and code diff is matching

Changes in v3
- Included driver name in subject line

Changes in v2
- Improved alignment of function declaration
- Modified subject line and commit log

---
 drivers/staging/vt6655/card.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/vt6655/card.c +0 -0
index 5c1034dec193..6ecbe925026d 100644

drivers/staging/vt6655/card.c static const unsigned short cwRXBCNTSFOff[MAX_RATE] = { · line 66

Quoted 7 lines
drivers/staging/vt6655/card.c +2 -1
@@ -61,7 +61,8 @@ static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
 /*---------------------  Static Functions  --------------------------*/
 
 static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
-				       unsigned char *pbyTxRate, unsigned char *pbyRsvTime);
+				       unsigned char *pbyTxRate,
+				       unsigned char *pbyRsvTime);
 

This patch does not apply to my tree :(