mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
staging: vt6655: Rename MACvWordRegBitsOff
Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/b8d4b72ddfdefb6b8a73fb95f6851e0f365118ba.1657657918.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5327d71d19
commit
28d4e69287
@ -352,18 +352,18 @@ void CARDbRadioPowerOff(struct vnt_private *priv)
|
||||
|
||||
switch (priv->byRFType) {
|
||||
case RF_RFMD2959:
|
||||
MACvWordRegBitsOff(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_TXPEINV);
|
||||
vt6655_mac_word_reg_bits_off(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_TXPEINV);
|
||||
vt6655_mac_word_reg_bits_on(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_SWPE1);
|
||||
break;
|
||||
|
||||
case RF_AIROHA:
|
||||
case RF_AL2230S:
|
||||
MACvWordRegBitsOff(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_SWPE2);
|
||||
MACvWordRegBitsOff(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_SWPE3);
|
||||
vt6655_mac_word_reg_bits_off(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_SWPE2);
|
||||
vt6655_mac_word_reg_bits_off(priv->port_offset, MAC_REG_SOFTPWRCTL,
|
||||
SOFTPWRCTL_SWPE3);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -558,7 +558,7 @@ do { \
|
||||
iowrite8(reg_value & ~(bit_mask), iobase + reg_offset); \
|
||||
} while (0)
|
||||
|
||||
#define MACvWordRegBitsOff(iobase, reg_offset, bit_mask) \
|
||||
#define vt6655_mac_word_reg_bits_off(iobase, reg_offset, bit_mask) \
|
||||
do { \
|
||||
unsigned short reg_value; \
|
||||
reg_value = ioread16(iobase + reg_offset); \
|
||||
|
@ -212,7 +212,7 @@ static bool RFbAL2230Init(struct vnt_private *priv)
|
||||
vt6655_mac_word_reg_bits_on(iobase, MAC_REG_SOFTPWRCTL,
|
||||
(SOFTPWRCTL_SWPECTI | SOFTPWRCTL_TXPEINV));
|
||||
/* PLL Off */
|
||||
MACvWordRegBitsOff(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE3);
|
||||
vt6655_mac_word_reg_bits_off(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_SWPE3);
|
||||
|
||||
/* patch abnormal AL2230 frequency output */
|
||||
IFRFbWriteEmbedded(priv, (0x07168700 + (BY_AL2230_REG_LEN << 3) + IFREGCTL_REGW));
|
||||
|
Loading…
Reference in New Issue
Block a user