mfd: ezx-pcap: Remvove open coded irq handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Mar 2011 11:12:27 +0000 (11:12 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 26 Mar 2011 23:09:42 +0000 (00:09 +0100)
commit73a6839fdb7f3f5ac7bfaee0796dd7647b9c9376
tree711fc01dce50f711c1a5d2d0a4f4e38cf094769d
parent256d0e2e4553417466ca8213b446954ff1778c2c
mfd: ezx-pcap: Remvove open coded irq handling

There is no point in checking irq_desc here, as it _is_ available. The
driver configured those lines, so they cannot go away.

The home brewn disabled/note_interrupt magic can be removed as well by
adding a irq_disable callback which avoids the lazy disable.

That driver needs to be converted to threaded interrupts.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ezx-pcap.c