I do have a device that's a multifunction device. Eventhough a MFD, itjust has one Interrupt which is shared by by a Configuration space foreach function. ie, INTA is shared between them functions.

In such a case, i am wondering, (since pci_probe returns a pointer toone PCI function alone and i need to use both the functions in onemodule alone rather than using a module for each function and that thefunctions are quite similar for them to be used in different modules,such that a separate probe/ISR etc is used) whether using pci_get_devicewould be a better alternative to do manual searching for the functionsin such a case.