mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
staging: comedi: ni_labpc_pci: tidy up bit define
As suggested by checkpatch.pl: CHECK: Prefer using the BIT macro Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a0b201caeb
commit
0edf7b85d3
@@ -51,8 +51,8 @@ static const struct labpc_boardinfo labpc_pci_boards[] = {
|
||||
};
|
||||
|
||||
/* ripped from mite.h and mite_setup2() to avoid mite dependency */
|
||||
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
|
||||
#define WENAB (1 << 7) /* window enable */
|
||||
#define MITE_IODWBSR 0xc0 /* IO Device Window Base Size Register */
|
||||
#define WENAB BIT(7) /* window enable */
|
||||
|
||||
static int labpc_pci_mite_init(struct pci_dev *pcidev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user