gbmc-release-23.18.x: Fix PCIeDeviceCollectionGet
Two issues with current implementation:
1. Our systems dont have our PCIeDevices as xyz.openbmc_project.Inventory.Item.PCIeDevice but rather xyz.openbmc_project.Inventory.Item.PCIe.Device
2. Subtree that is queried is /xyz/openbmc_project/inventory but our PCIe objects are under /xyz/openbmc_project/PCIe
PCIe Util function exists and does the job already so switching over to that.
Tested: Queried PCIeDevices and Collection resource along with expand.
Cherry-picking `https://gbmc-private-review.git.corp.google.com/c/gbmcweb/+/3960` into 23.18.x
Google-Bug-Id: 291105003
Change-Id: Iee8b225b229e5ca16a535c1308f7dabf99fee608
Signed-off-by: Edward Lee <edwarddl@google.com>
2 files changed