]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PCI: altera: Simplify TLP_CFG_DW1 usage
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:29:02 +0000 (13:29 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 00:57:49 +0000 (19:57 -0500)
commit4f276288617d4eca0b720e11ca6da68cc27c7cde
tree2570f10d02e6156272d352e452cba074a3390cd9
parenteb5767122feba117bbc4735b63831857e8153d36
PCI: altera: Simplify TLP_CFG_DW1 usage

TLP_CFG_DW1() was only used with altera->root_bus_nr and RP_DEVFN, so
encode that directly into the macro so we don't have to clutter the uses
with the TLP_REQ_ID() usage.  No functional change intended.

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