hvc: Convert to using interrupts instead of opal events
authorAlistair Popple <alistair@popple.id.au>
Fri, 15 May 2015 04:06:39 +0000 (14:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 May 2015 05:14:38 +0000 (15:14 +1000)
commitd4c647bcffc15ddf1817b2c70b63f32299c63429
tree0a1d9c2225617fea111b47e6c8639ecc6e0c9f99
parentc549c1401cbd1aa5e168e52e959b5f74dfb45bfa
hvc: Convert to using interrupts instead of opal events

Convert the opal hvc driver to use the new irqchip to register for
opal events. As older firmware versions may not have device tree
bindings for the interrupt parent we just use a hardcoded hwirq based
on the event number.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/tty/hvc/hvc_opal.c