]> git.baikalelectronics.ru Git - 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)
commita80b04255e49048396e391e626705bcb4a60c9b8
tree2570f10d02e6156272d352e452cba074a3390cd9
parentcd3b2899ab7a7d4bfc1848d67301a479ada2d914
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