]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Remove obsolete comment about gpiochip_free_hogs() usage
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Mar 2019 13:13:49 +0000 (14:13 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 17:04:19 +0000 (00:04 +0700)
commitfda8622e4446e57af7179822ef91d5d59473db29
tree0ff40717e877d5dca65ce9e751e6d81da129d841
parentebba1e9d4f5472aecf91afa38eaaa6e3eeb69a50
gpio: Remove obsolete comment about gpiochip_free_hogs() usage

gpiochip_free_hogs() was always called from gpiochip_remove(), not
of_gpiochip_remove().  It is now also called from the failure patch in
gpiochip_add_data_with_key().

Fixes: 9e655f8116b40a16 ("gpio: add GPIO hogging mechanism")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c