Re: [PATCH] New Chapter on CodingStyle .

2017-08-12 Thread Jonathan Corbet
On Sat, 12 Aug 2017 14:23:18 +0300 Corcodel Marian wrote: > --- > Documentation/CodingStyle | 28 > 1 file changed, 28 insertions(+) > > diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle > index 9a70ddd..864dd8b 100644 > --- a/Documentation/CodingSt

Re: [PATCH v2 2/3] irq/irq_sim: add a devres variant of irq_sim_init()

2017-08-12 Thread Jonathan Cameron
On Tue, 1 Aug 2017 16:50:27 +0200 Bartosz Golaszewski wrote: > Add a resource managed version of irq_sim_init(). This can be > conveniently used in device drivers. > > Signed-off-by: Bartosz Golaszewski Looks pretty standard to me. Acked-by: Jonathan Cameron > --- > Documentation/driver-mod

Re: [PATCH v2 3/3] gpio: mockup: use irq_sim

2017-08-12 Thread Jonathan Cameron
On Tue, 1 Aug 2017 16:50:28 +0200 Bartosz Golaszewski wrote: > Shrink the driver by removing the code dealing with dummy interrupts > and replacing it with calls to the irq_sim API. > > Signed-off-by: Bartosz Golaszewski Looks straight forward to me. Acked-by: Jonathan Cameron > --- > drive

Re: [PATCH v2 1/3] irq/irq_sim: add a simple interrupt simulator framework

2017-08-12 Thread Jonathan Cameron
On Tue, 1 Aug 2017 16:50:26 +0200 Bartosz Golaszewski wrote: > Implement a simple, irq_work-based framework for simulating > interrupts. Currently the API exposes routines for initializing and > deinitializing the simulator object, enqueueing the interrupts and > retrieving the allocated interru