Re: [PATCH 2/4] genirq: return the irq name from free_irq
From: Christoph Hellwig
Date: Fri Apr 14 2017 - 13:37:01 EST
On Fri, Apr 14, 2017 at 07:28:42PM +0200, Thomas Gleixner wrote:
> On Thu, 13 Apr 2017, Christoph Hellwig wrote:
>
> > This allows callers to get back at them instead of having to store
> > it in another variable.
>
> Alternatively you tell the irq code to free it for you. Patch below.
Yes, this should work to. But I think having the same layer free
something they allocated again is a tad cleaner in terms of layering.
If you prefer this version I can respin the series.