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)
commiteb5767122feba117bbc4735b63831857e8153d36
tree084ee5a6ec2549aa768773b7968a6e7a3cb8c332
parent14c7b9580f9179d4f71980dab1d5c5c63f6eb0d6
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