gpio: of: add missing of_node_put() to of_gpiochip_add_pin_range()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 May 2016 01:52:09 +0000 (10:52 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jun 2016 07:35:16 +0000 (09:35 +0200)
commit602cf63875f73f3faaa8b3b21a6ba8d1aa32424a
tree688bc49fbaa28abfa1fcf895da6e790e064c3c71
parent23087a05006057bbaa2c1f42163e45586dd77094
gpio: of: add missing of_node_put() to of_gpiochip_add_pin_range()

As the comment block of of_parse_phandle_with_fixed_args() says,
the caller is responsible to call of_node_put() on the returned
node when done.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c