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