Lars-Peter Clausen 994c755a19 Input: twl4030_keypad - pass correct pointer to free_irq()
free_irq() expects the same pointer that was passed to
request_threaded_irq(), otherwise the IRQ is not freed.

The issue was found using the following coccinelle script:

<smpl>
@r1@
type T;
T devid;
@@
request_threaded_irq(..., devid)

@r2@
type r1.T;
T devid;
position p;
@@
free_irq@p(..., devid)

@@
position p != r2.p;
@@
*free_irq@p(...)
</smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2013-05-23 09:38:24 -07:00
..
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2011-05-19 18:19:11 +02:00
2012-11-24 00:05:38 -08:00
2005-04-16 15:20:36 -07:00
2012-04-04 09:25:43 -07:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2012-11-24 00:05:38 -08:00
2013-01-04 16:57:09 -08:00
2012-04-04 09:25:43 -07:00