On Wed, Feb 13, 2013 at 10:59:50PM +0000, Grant Likely wrote: > On Mon, 11 Feb 2013 09:22:18 +0100, Thierry Reding > <[email protected]> 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-by: Thierry Reding <[email protected]> > > --- > > Changes in v2: > > - rename devfn and err variables for clarity > > > > drivers/of/of_pci.c | 34 +++++++++++++++++++++++++++++----- > > include/linux/of_pci.h | 1 + > > There isn't a whole lot of value in this patch without another user. > I'll need to see the other patches that make use of this.
Alright, I'll take that back into the Tegra series as well. Thierry
pgpsjfFo4UZJI.pgp
Description: PGP signature

