x86: Tidy up the PIRQ routing code a little
authorSimon Glass <sjg@chromium.org>
Mon, 10 Aug 2015 13:05:06 +0000 (07:05 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 09:24:21 +0000 (03:24 -0600)
commit9e3ff9c2b464e4aa342bed74a534ec9844612459
tree67429d49b2031966a37b46d9ecd55b495fb5fe93
parent1adafd40bbe4282ff72ece5a7d80c8eb29061aff
x86: Tidy up the PIRQ routing code a little

This code could use a little tightening up. There is some repetition and
an odd use of fdtdec_get_int_array().

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