]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabeaf3e82942de96b7d68b631539ec18bb65f858
tree90217a3d58c3d871a96674e2ca45e47852d7d8fd
parent961cb4ac2d8228d00e92a2c9447d436f7753b09d
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