From: Lars-Peter Clausen Date: Mon, 20 May 2013 15:54:35 +0000 (+0200) Subject: spi: topcliff-pch: Pass correct pointer to free_irq() X-Git-Tag: v3.10-rc6~30^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1e5762823be84cb97f629bdfecb97af3d187406;p=pandora-kernel.git spi: topcliff-pch: 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: Mark Brown --- Reading git-diff-tree failed