From: Lars-Peter Clausen Date: Thu, 23 May 2013 16:30:04 +0000 (-0700) Subject: Input: pxa27x_keypad - pass correct pointer to free_irq() X-Git-Tag: v3.11-rc1~86^2~7^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c7f5f5833815af06872bd6151604e0e18e24c99;p=pandora-kernel.git Input: pxa27x_keypad - pass correct pointer to free_irq() free_irq() expects the same pointer that was passed to request_irq(), otherwise the IRQ is not freed. The issue was found using the following coccinelle script: @r1@ type T; T devid; @@ request_irq(..., devid) @r2@ type r1.T; T devid; position p; @@ free_irq@p(..., devid) @@ position p != r2.p; @@ *free_irq@p(...) Signed-off-by: Lars-Peter Clausen Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed