PCI: designware: Rename dw_pcie_valid_config() to dw_pcie_valid_device()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:25:46 +0000 (13:25 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:25:46 +0000 (13:25 -0500)
commit1034023606d0e971f4dee6f725e441b785a846b5
tree1ea5847d49a3c7ce5e6fc142a65aec6b5057f3d9
parentbdf530984d10b6b88b10a6d03057409a3f1c6897
PCI: designware: Rename dw_pcie_valid_config() to dw_pcie_valid_device()

Rename dw_pcie_valid_config() to dw_pcie_valid_device() and use the result
directly as a boolean value instead of testing against 0.  No functional
change intended.

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