OSDN Git Service

MIPS: pci: Make use of the BIT() macro inside the mt7620 driver
authorJohn Crispin <john@phrozen.org>
Mon, 20 Feb 2017 09:29:44 +0000 (10:29 +0100)
committerJames Hogan <jhogan@kernel.org>
Mon, 13 Nov 2017 13:01:50 +0000 (13:01 +0000)
commitb54fcf6ae1157b35504dde93581db0810c03b4b7
treec09c78926ab733fbd59a9bafc688b448fb4983a9
parent8593b18ad348733b5d5ddfa0c79dcabf51dff308
MIPS: pci: Make use of the BIT() macro inside the mt7620 driver

There are a few defines that manully shift a bit. Change these to using
the BIT() macro.

Signed-off-by: John Crispin <john@phrozen.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15322/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/pci/pci-mt7620.c