x86: irq: Convert to use DM PCI API
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:52 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:22 +0000 (12:47 +0800)
commit248c4faa9f0499971dadf148e666b087384117f0
tree3a65f3a2c335cd186828689b8c5abd4c3b784239
parentb46c2088da17b8f9210bf0860af88ec533435af9
x86: irq: Convert to use DM PCI API

Now that we have irq router's udevice passed as a parameter, it's
time to start using the DM PCI API instead of those legacy ones.

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
arch/x86/cpu/queensbay/irq.c