drivers/char/riscom8: clean up irq handling