Re: [PATCH v2 5/7] gpio: mockup: add a dummy irqchip

From: Linus Walleij
Date: Mon Feb 06 2017 - 08:29:13 EST


On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
<bgolaszewski@xxxxxxxxxxxx> wrote:

> Setup a dummy irqchip that will allow us to inject line events for
> testing purposes.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

This is obviously exactly how we should do this.

However since it needs the devm* helpers from the irq
subsystem I can't apply them until the irqchip maintainers
merge or ack that patch.

If you want it in soon I suggest resending it with
non-memorymanaged accessors for the descs and later
make a separate patch to switch over to the devm_*
versions when/if it is accepted.

If you're not in a hurry, just wait :)

Yours,
Linus Walleij