From: Lars-Peter Clausen Date: Thu, 23 May 2013 16:30:19 +0000 (-0700) Subject: Input: pmic8xxx-pwrkey - pass correct pointer to free_irq() X-Git-Tag: v3.11-rc1~86^2~7^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=139097a0a7cf0f63c1806cdca197f22b6f48501c;p=pandora-kernel.git Input: pmic8xxx-pwrkey - 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