]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: aggregator: Replace custom get_arg() with a generic next_arg()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 1 Mar 2021 16:59:32 +0000 (18:59 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 5 May 2021 14:07:40 +0000 (16:07 +0200)
commitad8cc5e77d5b5343fdb67b2954827915b1ccbcba
tree86dada6b8f1bc747d914cbfcaeb5297c5dd10513
parent9d04defce73396fa60f8691bc5b7fe1b3736cdb9
gpio: aggregator: Replace custom get_arg() with a generic next_arg()

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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/gpio/gpio-aggregator.c