[PATCH 5/5] staging: vt6655: Rename variable byEIFS

From: Gilbert Adikankwu
Date: Sat Oct 21 2023 - 19:13:28 EST


Remove byte Type encoding "by" from variable name and replace camelcase
with snakecase.

Fix checkpatch.pl error:
CHECK: Avoid CamelCase: <byEIFS>

Signed-off-by: Gilbert Adikankwu <gilbertadikankwu@xxxxxxxxx>
---
drivers/staging/vt6655/card.c | 6 +++---
drivers/staging/vt6655/device.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 9c8648ea96be..079fd01c6780 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -250,9 +250,9 @@ bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type)
priv->difs = difs;
iowrite8(priv->difs, priv->port_offset + MAC_REG_DIFS);
}
- if (priv->byEIFS != C_EIFS) {
- priv->byEIFS = C_EIFS;
- iowrite8(priv->byEIFS, priv->port_offset + MAC_REG_EIFS);
+ if (priv->eifs != C_EIFS) {
+ priv->eifs = C_EIFS;
+ iowrite8(priv->eifs, priv->port_offset + MAC_REG_EIFS);
}
if (priv->slot != slot) {
priv->slot = slot;
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index 264bb056c80c..7773b19a5788 100644
--- a/drivers/staging/vt6655/device.h
+++ b/drivers/staging/vt6655/device.h
@@ -183,7 +183,7 @@ struct vnt_private {
/* PHY parameter */
unsigned char sifs;
unsigned char difs;
- unsigned char byEIFS;
+ unsigned char eifs;
unsigned char slot;
unsigned char cw_max_min;

--
2.34.1