]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: altera: Simplify TLB_CFG_DW0 usage
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:29:01 +0000 (13:29 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 00:56:01 +0000 (19:56 -0500)
commitcd3b2899ab7a7d4bfc1848d67301a479ada2d914
tree084ee5a6ec2549aa768773b7968a6e7a3cb8c332
parent3af6233aa222fb18bfbdcb51897814cae114ce3f
PCI: altera: Simplify TLB_CFG_DW0 usage

All TLP_CFG_DW0() uses follow the same pattern based on the root bus
number, so pull that into the macro itself to declutter the users.  No
functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-altera.c