Re: [PATCH v2] iio: dummy: evgen: use irq_sim

From: Bartosz Golaszewski
Date: Fri Sep 29 2017 - 10:52:32 EST


2017-09-29 15:15 GMT+02:00 Lars-Peter Clausen <lars@xxxxxxxxxx>:
> On 09/28/2017 12:56 PM, Bartosz Golaszewski wrote:
>> Switch to using the recently added interrupt simulator for dummy irqs.
>>
>> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
>
> Reviewed-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> Tested-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
>
> I've backported irq_sim to v4.9 for testing and got compile errors due to a
> missing slab.h include. In upstream this include comes implicit through
> irq.h (coincidentally added by you), I wonder if we should still add it to
> irq_sim.c since it is explicitly using the allocation API.

Thanks for the hint, I'll send it together with other updates (e.g.
the reverse irq lookup).