]> 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)
commitb6ad210d2d627946165b70eb9a4720cab6c4d7a9
tree1ea5847d49a3c7ce5e6fc142a65aec6b5057f3d9
parent09ba2f651e383f4146c6eeb2aba8ed6dc9fef203
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