Re: [PATCH 5/7] genirq: Add devm_request_any_context_irq()

2013-12-15 Thread Dmitry Torokhov
On Tue, Dec 10, 2013 at 03:43:14PM -0800, Stephen Boyd wrote: > 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. > > Cc: Thomas Gleixner Thomas, would it be OK with me pi

[PATCH 5/7] genirq: Add devm_request_any_context_irq()

2013-12-10 Thread Stephen Boyd
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. Cc: Thomas Gleixner Signed-off-by: Stephen Boyd --- include/linux/interrupt.h | 5 + kernel/irq/devres.c | 45 +++