[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918191959.51539-3-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:20:57 +0000
From: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
To: philipp.g.hortmann@...il.com, gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
Subject: [PATCH 02/14] staging: vt6655: s_uGetDataDuration: Rename byDurType parameter
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@...tonmail.com>
---
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
Powered by blists - more mailing lists