staging: vt6656: Define EnCFG_BBType_MASK as OR between previous defines
Define the EnCFG_BBType_MASK bit as an OR operation between two previous defines instead of using the OR between two new BIT macros. Thus, the code is more clear. Signed-off-by: Oscar Carter <oscar.carter@gmx.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk> Link: https://lore.kernel.org/r/20200402170103.22520-1-oscar.carter@gmx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
afa2e976b1
commit
d12d96ff66
@ -177,7 +177,7 @@
|
||||
#define EnCFG_BBType_a 0x00
|
||||
#define EnCFG_BBType_b BIT(0)
|
||||
#define EnCFG_BBType_g BIT(1)
|
||||
#define EnCFG_BBType_MASK (BIT(0) | BIT(1))
|
||||
#define EnCFG_BBType_MASK (EnCFG_BBType_b | EnCFG_BBType_g)
|
||||
#define EnCFG_ProtectMd BIT(5)
|
||||
|
||||
/* Bits in the EnhanceCFG_1 register */
|
||||
|
Loading…
x
Reference in New Issue
Block a user