]> 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)
commit98eff4a6c50692f3016b8aca24e48b6df6d5e248
tree084ee5a6ec2549aa768773b7968a6e7a3cb8c332
parent73bbb5ed2474df6f8f927a4fdba58efbbb38511e
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