[PATCH 02/14] staging: vt6655: s_uGetDataDuration: Rename byDurType parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch renames byDurType to dur_type in s_uGetDataDuration function
in order to avoid using camel case.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@xxxxxxxxxxxxxx>
---
 drivers/staging/vt6655/rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index a1dadc3e8cb5..239fa4a1af66 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -230,7 +230,7 @@ static
 unsigned int
 s_uGetDataDuration(
 	struct vnt_private *priv,
-	unsigned char byDurType,
+	unsigned char dur_type,
 	unsigned int cbFrameLength,
 	unsigned char byPktType,
 	unsigned short wRate,
@@ -252,7 +252,7 @@ s_uGetDataDuration(
 	else
 		len = cbFrameLength;
 
-	switch (byDurType) {
+	switch (dur_type) {
 	case DATADUR_B:    /* DATADUR_B */
 		if (bNeedAck) {
 			uAckTime = bb_get_frame_time(priv->preamble_type,
-- 
2.34.1







[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux