Subject: [PATCH v11 07/10] OF: Introduce helper function for getting PCI domain_nr

From: [email-masked] (Arnd Bergmann)
Date: Sat, 20 Sep 2014 04:24:20 +0200

On Thursday 18 September 2014, Liviu Dudau wrote:
> 
> Add of_pci_get_domain_nr() to retrieve the PCI domain number
> of a given device from DT. If the information is not present,
> the function can be requested to allocate a new domain number.
> 
> Cc: Bjorn Helgaas <[email-masked]>
> Cc: Arnd Bergmann <[email-masked]>
> Cc: Grant Likely <[email-masked]>
> Cc: Rob Herring <[email-masked]>
> Reviewed-by: Catalin Marinas <[email-masked]>
> Signed-off-by: Liviu Dudau <[email-masked]>

This is more elaborate than I remember it, and while the simpler
version (which potentially resulted in a conflict for inconsistent
DTs) was fine, this one also seems ok.

Acked-by: Arnd Bergmann <[email-masked]>