staging: vt6655: Rename wBits to bit_mask in two macros

Fix name of a variable in two macros that use CamelCase which is not
accepted by checkpatch.pl

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/8929407dc7355df515b7f9fdd195b45ff44f6b98.1657657918.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Philipp Hortmann 2022-07-13 06:59:38 +02:00 committed by Greg Kroah-Hartman
parent 10ff399bf6
commit 5bd643b197
1 changed files with 4 additions and 4 deletions

View File

@ -544,11 +544,11 @@ do { \
iowrite8(byData | (bit_mask), iobase + reg_offset); \
} while (0)
#define MACvWordRegBitsOn(iobase, reg_offset, wBits) \
#define MACvWordRegBitsOn(iobase, reg_offset, bit_mask) \
do { \
unsigned short wData; \
wData = ioread16(iobase + reg_offset); \
iowrite16(wData | (wBits), iobase + reg_offset); \
iowrite16(wData | (bit_mask), iobase + reg_offset); \
} while (0)
#define MACvRegBitsOff(iobase, reg_offset, bit_mask) \
@ -558,11 +558,11 @@ do { \
iowrite8(byData & ~(bit_mask), iobase + reg_offset); \
} while (0)
#define MACvWordRegBitsOff(iobase, reg_offset, wBits) \
#define MACvWordRegBitsOff(iobase, reg_offset, bit_mask) \
do { \
unsigned short wData; \
wData = ioread16(iobase + reg_offset); \
iowrite16(wData & ~(wBits), iobase + reg_offset); \
iowrite16(wData & ~(bit_mask), iobase + reg_offset); \
} while (0)
#define MACvReceive0(iobase) \