genirq: Add devm_request_any_context_irq()
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 3 Jan 2014 00:37:32 +0000 (16:37 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 9 Feb 2014 14:27:21 +0000 (15:27 +0100)
commit0668d3065128d39449c097e62dbdb5707820137d
treec7cc6b27d6a7fbc22791fe1c35aa7842970ec995
parent494479038d97f1b9f76fc633a360a681acdf035c
genirq: Add devm_request_any_context_irq()

Some drivers use request_any_context_irq() but there isn't a
devm_* function for it. Add one so that these drivers don't need
to explicitly free the irq on driver detach.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: http://lkml.kernel.org/r/1388709460-19222-3-git-send-email-sboyd@codeaurora.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/interrupt.h
kernel/irq/devres.c