mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
staging: vt6655: Rename variable byEIFS
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@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/4428aa96453516b6706b1a834c46e3f6e70b5828.1697927812.git.gilbertadikankwu@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
30af3e5758
commit
5d9f6f26ec
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user