Re: [PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg()

2021-03-04 Thread Andy Shevchenko
On Thu, Mar 04, 2021 at 10:01:46AM +0100, Geert Uytterhoeven wrote: > Hi Andy, > > On Mon, Mar 1, 2021 at 5:59 PM Andy Shevchenko > wrote: > > cmdline library provides next_arg() helper to traverse over parameters > > and their values given in command line. Replace custom approach in the > > dri

Re: [PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg()

2021-03-04 Thread Geert Uytterhoeven
Hi Andy, On Mon, Mar 1, 2021 at 5:59 PM Andy Shevchenko wrote: > cmdline library provides next_arg() helper to traverse over parameters > and their values given in command line. Replace custom approach in the driver > by it. > > Signed-off-by: Andy Shevchenko Thanks for your patch! > --- a/dri

Re: [PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg()

2021-03-02 Thread Linus Walleij
On Mon, Mar 1, 2021 at 6:00 PM Andy Shevchenko wrote: > cmdline library provides next_arg() helper to traverse over parameters > and their values given in command line. Replace custom approach in the driver > by it. > > Signed-off-by: Andy Shevchenko Wow how nice! Reviewed-by: Linus Walleij Y

[PATCH v1 2/2] gpio: aggregator: Replace custom get_arg() with a generic next_arg()

2021-03-01 Thread Andy Shevchenko
cmdline library provides next_arg() helper to traverse over parameters and their values given in command line. Replace custom approach in the driver by it. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-aggregator.c | 39 +- 1 file changed, 5 insertions(+),