Function unregister
pub fn unregister(irq: usize) -> Option<fn()>Expand description
Unregisters the IRQ handler for the given IRQ.
It also disables the IRQ if the unregistration succeeds. It returns the
existing handler if it is registered, None otherwise.