commit | bc21077e084b80c22072a40d32beb24ea33938ec | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Feb 20 14:01:48 2020 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Feb 21 17:07:47 2020 +0100 |
tree | df92dbbb652f8d2fdb2f802f05846439652692e8 | |
parent | f8850206e160bfe35de9ca2e726ab6d6b8cb77dd [diff] |
gpio: of: Extract of_gpiochip_add_hog() Extract the code to add all GPIO hogs of a gpio-hog node into its own function, so it can be reused. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200220130149.26283-2-geert+renesas@glider.be Reviewed-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>