diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-27 17:29:22 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-04 14:29:16 +0300 |
commit | 9e4555d1e54a18946d7ca363b9fc8ed1fe7dfde4 (patch) | |
tree | 798bd9cd20a12752d6682bf37432c00e75855154 /drivers/spi/spi-rspi.c | |
parent | 36aa129f221c9070afd8dff03154ab49702a5b1b (diff) | |
download | linux-9e4555d1e54a18946d7ca363b9fc8ed1fe7dfde4.tar.xz |
gpiolib: add support for scope-based management to gpio_device
As the few users that need to get the reference to the GPIO device often
release it right after inspecting its properties, let's add support for
the automatic reference release to struct gpio_device.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
0 files changed, 0 insertions, 0 deletions