diff options
author | Pavan Bobba <opensource206@gmail.com> | 2023-10-27 14:21:55 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-27 13:10:59 +0200 |
commit | 956ab42b8e4f2e0ead19a7dd68e14a83e71e6d19 (patch) | |
tree | 86ff52a1954f16ca1a94a45c00bf5132c39d648f | |
parent | 4922f5d1e54cecbd6d0acf57983ea62c3eb94c6c (diff) |
staging: vt6655: Type encoding info dropped from variable name "byPacketType"
variable name "byPacketType" updated like below:
a.type encoding info dropped from name
b.camelcase name replaced by snakecase
Issue found by checkpatch
Signed-off-by: Pavan Bobba <opensource206@gmail.com>
Link: https://lore.kernel.org/r/308813545f9364da18dfc3cdb051ed59eca18f7f.1698396278.git.opensource206@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6655/card.c | 2 | ||||
-rw-r--r-- | drivers/staging/vt6655/device.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 4f73da832b6a..c58a25032a03 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -265,7 +265,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type) iowrite8(priv->cw_max_min, priv->port_offset + MAC_REG_CWMAXMIN0); } - priv->byPacketType = CARDbyGetPktType(priv); + priv->packet_type = CARDbyGetPktType(priv); CARDvSetRSPINF(priv, bb_type); diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 7773b19a5788..d9ee0b7401fe 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -188,7 +188,7 @@ struct vnt_private { unsigned char cw_max_min; u8 byBBType; /* 0:11A, 1:11B, 2:11G */ - u8 byPacketType; /* + u8 packet_type; /* * 0:11a,1:11b,2:11gb (only CCK * in BasicRate), 3:11ga (OFDM in * Basic Rate) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index c6627c10a462..17a323800ce9 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -177,7 +177,7 @@ device_set_options(struct vnt_private *priv) priv->byShortRetryLimit = priv->opts.short_retry; priv->byLongRetryLimit = priv->opts.long_retry; priv->byBBType = priv->opts.bbp_type; - priv->byPacketType = priv->byBBType; + priv->packet_type = priv->byBBType; priv->byAutoFBCtrl = AUTO_FB_0; priv->update_bbvga = true; priv->preamble_type = 0; |