drivers/misc/fsa9480.c: fix a leak of the IRQ during init failure
authorAxel Lin <axel.lin@gmail.com>
Thu, 25 Aug 2011 22:59:19 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 23:25:35 +0000 (16:25 -0700)
commitb89d5f17d4b02ae9f3a691c2cb260e1929c6261b
tree0046168d316ba49ce628061244229f6e157524f8
parentc53252b780e26c73c6a4e40bc14179447504cccd
drivers/misc/fsa9480.c: fix a leak of the IRQ during init failure

Make sure we are passing the same cookie in all calls to
request_threaded_irq() and free_irq().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Donggeun Kim <dg77.kim@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/fsa9480.c