staging: vt6655: Rename function MACbIsRegBitsOff
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 28 Aug 2022 06:54:18 +0000 (08:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 15:17:49 +0000 (17:17 +0200)
commit0f3c86877d3f813ea7adb740bf88d4bd3aa76c7f
tree13d3b00b19bbddb37bbfa9916409973108ea8891
parent4f7730e02a4af3e48b465ff15e5b61a8eb057842
staging: vt6655: Rename function MACbIsRegBitsOff

Remove declaration of MACbIsRegBitsOff as it is not needed. Rename
function MACbIsRegBitsOff to vt6655_mac_is_reg_bits_off, rename
byRegOfs to reg_offset and byTestBits to mask to avoid CamelCase which
is not accepted by checkpatch.pl. Made function static to keep namespace
clean.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/79530d864d4e39e29b899b80f2e2ecf0566366dc.1661666677.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/mac.c
drivers/staging/vt6655/mac.h