Messages in this thread | | | Date | Thu, 14 Feb 2013 07:52:39 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function |
| |
On Wed, Feb 13, 2013 at 10:59:50PM +0000, Grant Likely wrote: > On Mon, 11 Feb 2013 09:22:18 +0100, Thierry Reding <thierry.reding@avionic-design.de> 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 <thierry.reding@avionic-design.de> > > --- > > 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 [unhandled content-type:application/pgp-signature] | |