x86/pci: Rename pci_mmcfg_check_reserved() to pci_mmcfg_reserved()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Nov 2023 18:36:40 +0000 (12:36 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Dec 2023 16:56:53 +0000 (10:56 -0600)
commitd26e7fc3d907db19f7e25126476cb416f0527592
treeba7922b013bc6f02fbc1777e055fc16791fe02b4
parent9ad67912d0d019791f0ed6bbf46374fce8a3656e
x86/pci: Rename pci_mmcfg_check_reserved() to pci_mmcfg_reserved()

"pci_mmcfg_check_reserved()" doesn't give a hint about what the boolean
return value means.  Rename it to pci_mmcfg_reserved() so testing
"if (pci_mmcfg_reserved())" makes sense.

Update callers to treat the return value as boolean instead of comparing
with 0.

Link: https://lore.kernel.org/r/20231121183643.249006-7-helgaas@kernel.org
Tested-by: Tomasz Pala <gotar@polanet.pl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/mmconfig-shared.c