]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 8 Mar 2021 18:03:59 +0000 (20:03 +0200)
commit6793484b7cc2c41ed19704063fdb88cc5a587dac
tree4511a2da4e4bcf5890268fa0f291565592d7ade3
parent9a53c44c534effe02ee2dfba41decaf99d30ae58
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