]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: Use BIT() macro in vnt_mac_reg_bits_* functions
authorOscar Carter <oscar.carter@gmx.com>
Fri, 20 Mar 2020 18:13:26 +0000 (19:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 10:03:16 +0000 (11:03 +0100)
commita4553c98e656f609cebed024c70ea5be5fe31808
tree4737b9cc01c33aeea6e088c035d379df07b18d29
parent619541f2f9cca442693a0283059eefdc9f66da69
staging: vt6656: Use BIT() macro in vnt_mac_reg_bits_* functions

The last parameter in the functions vnt_mac_reg_bits_on and
vnt_mac_reg_bits_off defines the bits to set or unset. So, it's more
clear to use the BIT() macro instead of an hexadecimal value.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Link: https://lore.kernel.org/r/20200320181326.12156-1-oscar.carter@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/card.c
drivers/staging/vt6656/main_usb.c