pci/of: Consolidate pci_device_to_OF_node()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 7 Apr 2011 03:09:47 +0000 (13:09 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Jun 2011 23:08:43 +0000 (09:08 +1000)
All archs do more or less the same thing now, move it into
a single generic place.

I chose pci.h rather than of_pci.h to avoid having to change
all call-sites to include the later.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found