linux-stable/include/linux/gpio
Bartosz Golaszewski dd61b29207 gpiolib: provide gpiod_remove_hogs()
Currently all users of gpiod_add_hogs() call it only once at system
init so there never was any need for a mechanism allowing to remove
them. Now the upcoming gpio-sim will need to tear down chips with hogged
lines so provide a function that allows to remove hogs.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2021-12-17 12:26:12 +01:00
..
aspeed.h gpio: aspeed: Add interfaces for co-processor to grab GPIOs 2018-07-02 16:10:15 +02:00
consumer.h intel-gpio for v5.15-1 2021-08-13 09:38:04 +02:00
driver.h gpio: Allow per-parent interrupt data 2021-10-27 00:16:00 +02:00
gpio-reg.h gpio: Add comments on #if/#else/#endif 2019-06-27 15:56:50 +01:00
machine.h gpiolib: provide gpiod_remove_hogs() 2021-12-17 12:26:12 +01:00
regmap.h gpio: regmap: move drvdata to config data 2021-06-07 15:39:19 +02:00