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:
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user