]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb404ce227f2ebe1f47a6f63438600c6026696753
tree1ea5847d49a3c7ce5e6fc142a65aec6b5057f3d9
parentd2045f6462be47832bf47506fcabab49373d7779
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