Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6655: fix camelcase in bRadioOff

Replace camel case variable bRadioOff with snake case
variable radio_off.
Drop Hungarian notation prefix in `bRadioOff` variable.
Change it to use snake case.

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Link: https://lore.kernel.org/r/20211113102126.82904-1-tomm.merciai@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Tommaso Merciai and committed by
Greg Kroah-Hartman
fca00dc4 74b1dc36

+4 -4
+2 -2
drivers/staging/vt6655/card.c
··· 404 404 */ 405 405 void CARDbRadioPowerOff(struct vnt_private *priv) 406 406 { 407 - if (priv->bRadioOff) 407 + if (priv->radio_off) 408 408 return; 409 409 410 410 switch (priv->byRFType) { ··· 429 429 430 430 bb_set_deep_sleep(priv, priv->local_id); 431 431 432 - priv->bRadioOff = true; 432 + priv->radio_off = true; 433 433 pr_debug("chester power off\n"); 434 434 MACvRegBitsOn(priv->port_offset, MAC_REG_GPIOCTL0, 435 435 LED_ACTSET); /* LED issue */
+1 -1
drivers/staging/vt6655/device.h
··· 221 221 bool bBarkerPreambleMd; 222 222 223 223 bool bRadioControlOff; 224 - bool bRadioOff; 224 + bool radio_off; 225 225 bool bEnablePSMode; 226 226 unsigned short wListenInterval; 227 227 bool bPWBitOn;
+1 -1
drivers/staging/vt6655/device_main.c
··· 369 369 /* Set Short Slot Time, xIFS, and RSPINF. */ 370 370 priv->wCurrentRate = RATE_54M; 371 371 372 - priv->bRadioOff = false; 372 + priv->radio_off = false; 373 373 374 374 priv->byRadioCtl = SROMbyReadEmbedded(priv->port_offset, 375 375 EEP_OFS_RADIOCTL);