On Thu, May 03, 2018 at 01:03:56AM -0400, Oza Pawandeep wrote: > This patch implements generic pcie_port_find_device() routine. > ... > + * pcie_port_find_device - find the struct device > + * @dev: PCI Express port the service devices associated with > + * @service: For the service to find > + * > + * Find PCI Express port service driver associated with given service > + */ > +struct device *pcie_port_find_device(struct pci_dev *dev, s/struct device/struct device/ (remove extra space) > + u32 service) > +{ > + struct device *device; > + struct portdrv_service_data pdrvs; > + > + pdrvs.dev = NULL; > + pdrvs.service = service; > + device_for_each_child(&dev->dev, &pdrvs, find_service_iter); > + > + device = pdrvs.dev; > + return device; > +} > + > +/**