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

From: Lars-Peter Clausen
Date: Fri Sep 29 2017 - 09:15:45 EST


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.