[U-Boot] [PATCH 02/23] pci: Add a function to find a device by class