Skip to content
Commit f07ef395 authored by Jeff Garzik's avatar Jeff Garzik
Browse files

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: default avatarJeff Garzik <jgarzik@redhat.com>
parent 080eb42f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment