Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:49 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > We're currently creating chips at module init time only so using a > > static index for dummy devices is fine. We want to support dy

Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-07 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 1:50 PM Andy Shevchenko wrote: > > On Mon, Sep 07, 2020 at 01:04:29PM +0200, Bartosz Golaszewski wrote: > > On Fri, Sep 4, 2020 at 6:49 PM Andy Shevchenko > > wrote: > > > On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski

Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-07 Thread Andy Shevchenko
On Mon, Sep 07, 2020 at 01:04:29PM +0200, Bartosz Golaszewski wrote: > On Fri, Sep 4, 2020 at 6:49 PM Andy Shevchenko > wrote: > > On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > We're currently creating chips at module init time on

Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-04 Thread Andy Shevchenko
On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We're currently creating chips at module init time only so using a > static index for dummy devices is fine. We want to support dynamically > created chips however so we need to switch to dynamic

[PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-04 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're currently creating chips at module init time only so using a static index for dummy devices is fine. We want to support dynamically created chips however so we need to switch to dynamic device IDs. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.