x86: irq: Get irq_router's bdf via dm_pci_get_bdf()
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:50 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:22 +0000 (12:47 +0800)
commit819133d9f591bfc187218342702b2ff69eecca25
tree700578edd673fb932d318f72e78f849e8217d707
parente75711a4bf2aa8dfd33f79e622cd51306c34a37b
x86: irq: Get irq_router's bdf via dm_pci_get_bdf()

There is no need to parse PCH's <reg> property as we have already
a DM PCI API dm_pci_get_bdf() that can handle this.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/irq.c