Re: [PATCH 01/15] PCI: introduce pci_device_to_OF_node() for !CONFIG_OF

2015-02-03 Thread Bjorn Helgaas
On Mon, Feb 2, 2015 at 6:25 PM, Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-02-02 at 09:47 -0600, Bjorn Helgaas wrote: On Sun, Feb 1, 2015 at 8:28 PM, Michael Ellerman m...@ellerman.id.au wrote: On Sat, 2015-01-31 at 21:47 +0800, Kevin Hao wrote: So we can avoid the ugly #ifdef

Re: [PATCH 01/15] PCI: introduce pci_device_to_OF_node() for !CONFIG_OF

2015-02-02 Thread Kevin Hao
On Mon, Feb 02, 2015 at 09:47:57AM -0600, Bjorn Helgaas wrote: I think it makes more sense to merge this along with the other 14 patches that remove the #ifdefs (at least, I assume that's what they do; I haven't seen them). Acked-by: Bjorn Helgaas bhelg...@google.com But please edit the

Re: [PATCH 01/15] PCI: introduce pci_device_to_OF_node() for !CONFIG_OF

2015-02-02 Thread Michael Ellerman
On Mon, 2015-02-02 at 09:47 -0600, Bjorn Helgaas wrote: On Sun, Feb 1, 2015 at 8:28 PM, Michael Ellerman m...@ellerman.id.au wrote: On Sat, 2015-01-31 at 21:47 +0800, Kevin Hao wrote: So we can avoid the ugly #ifdef in some drivers. Signed-off-by: Kevin Hao haoke...@gmail.com ---

Re: [PATCH 01/15] PCI: introduce pci_device_to_OF_node() for !CONFIG_OF

2015-02-02 Thread Bjorn Helgaas
On Sun, Feb 1, 2015 at 8:28 PM, Michael Ellerman m...@ellerman.id.au wrote: On Sat, 2015-01-31 at 21:47 +0800, Kevin Hao wrote: So we can avoid the ugly #ifdef in some drivers. Signed-off-by: Kevin Hao haoke...@gmail.com --- include/linux/pci.h | 2 ++ 1 file changed, 2 insertions(+) Hi

Re: [PATCH 01/15] PCI: introduce pci_device_to_OF_node() for !CONFIG_OF

2015-02-01 Thread Michael Ellerman
On Sat, 2015-01-31 at 21:47 +0800, Kevin Hao wrote: So we can avoid the ugly #ifdef in some drivers. Signed-off-by: Kevin Hao haoke...@gmail.com --- include/linux/pci.h | 2 ++ 1 file changed, 2 insertions(+) Hi Bjorn, Do you mind putting this into your next for 3.20? Or giving us an