Re: [PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:59:50PM +, Grant Likely wrote: > On Mon, 11 Feb 2013 09:22:18 +0100, Thierry Reding > wrote: > > This function can be used to parse the device and function number from a > > standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on > > the returned valu

Re: [PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 09:22:18 +0100, Thierry Reding wrote: > This function can be used to parse the device and function number from a > standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on > the returned value obtain the device and function numbers respectively. > > Signed-off-b

[PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function

2013-02-11 Thread Thierry Reding
This function can be used to parse the device and function number from a standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on the returned value obtain the device and function numbers respectively. Signed-off-by: Thierry Reding --- Changes in v2: - rename devfn and err variables