]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dra7xx: Use PCI_NUM_INTX
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Aug 2017 21:28:27 +0000 (16:28 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 16:42:07 +0000 (11:42 -0500)
commit07cd7fc023eb62366bbb7d538707f2bb6b3907d9
tree41b43f721def28f689a6028ae6e896c1cba7223e
parent5a123201782b650425c83a3db7fd4eda87244f3f
PCI: dra7xx: 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.

Based-on-similar-patches-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/pci-dra7xx.c