]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rockchip: Use PCI_NUM_INTX
authorPaul Burton <paul.burton@imgtec.com>
Tue, 15 Aug 2017 21:27:29 +0000 (16:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 18:18:06 +0000 (13:18 -0500)
commitf1576ad070068fa30886c3250d60b44693b75948
treed30e0638acdce234a86e8fe670941113d6ea68e6
parent05009d10ab36d44b9b290ba59d63c5762065cc44
PCI: rockchip: Use PCI_NUM_INTX

Use the PCI_NUM_INTX macro to indicate the number of PCI INTx interrupts
rather than the magic number 4. This makes it clearer where the number
comes from & what it relates to.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Shawn Lin <shawn.lin@rock-chips.com>
drivers/pci/host/pcie-rockchip.c