]> 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)
commitb48e36542be17a07582d362077851156463cdb9a
tree86dada6b8f1bc747d914cbfcaeb5297c5dd10513
parent67a991576b1a0ea4af2c08114bcb34066e06829d
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