Re: [PATCH 1/2] irq/irq_sim: make the irq_sim structure opaque

2019-08-18 Thread Jonathan Cameron
On Sun, 18 Aug 2019 20:38:36 +0100 Jonathan Cameron wrote: > On Mon, 12 Aug 2019 14:52:55 +0200 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > There's no good reason to export the interrupt simulator structure to > > users and have them provide memory for it. Let's make

Re: [PATCH 1/2] irq/irq_sim: make the irq_sim structure opaque

2019-08-18 Thread Jonathan Cameron
On Mon, 12 Aug 2019 14:52:55 +0200 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There's no good reason to export the interrupt simulator structure to > users and have them provide memory for it. Let's make all the related > data structures opaque and convert both users. This way w

[PATCH 1/2] irq/irq_sim: make the irq_sim structure opaque

2019-08-12 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no good reason to export the interrupt simulator structure to users and have them provide memory for it. Let's make all the related data structures opaque and convert both users. This way we have a lot less APIs exposed in the header. Signed-off-by: Bartosz Gola