Input: wm831x-on - convert to use genirq
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 11 Mar 2010 07:41:33 +0000 (23:41 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Mar 2010 08:02:53 +0000 (00:02 -0800)
commitafadb8e08c48d08b75f3caf8404742b13e6b3624
tree90217a3d58c3d871a96674e2ca45e47852d7d8fd
parentfdba2bb1f2eed85085a0fe154e1acb82de3239f7
Input: wm831x-on - convert to use genirq

Now that the WM831x core has been converted to use genirq for the
interrupt controller there is no need for the client drivers to
use a WM831x-specific API rather than just calling genirq directly.

Also fixes a leak of the IRQ during init failure - the error path
free_irq() was using NULL rather than the driver data as the data
pointer so free_irq() wouldn't have matched.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/wm831x-on.c