drivers/char/riscom8: clean up irq handling
authorJeff Garzik <jeff@garzik.org>
Tue, 23 Oct 2007 23:12:11 +0000 (19:12 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 23 Oct 2007 23:53:17 +0000 (19:53 -0400)
commitf07ef395ad4cd050e695edfec217ceb2158220a3
treed0a228dca81cdeb774dfb0f80121199b5e2a088d
parent080eb42f31a8a6dde1568f906692d9914cdfbfe8
drivers/char/riscom8: clean up irq handling

Make irq handling more efficient, by passing board pointer via
request_irq() to our irq handler's dev_id argument.

This eliminates a table lookup upon each interrupt, and eliminates an
associated global variable (the table).

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/char/riscom8.c