diff options
author | 2023-09-27 16:29:22 +0200 | |
---|---|---|
committer | 2023-10-04 13:29:16 +0200 | |
commit | 9e4555d1e54a18946d7ca363b9fc8ed1fe7dfde4 (patch) | |
tree | 798bd9cd20a12752d6682bf37432c00e75855154 /tools/perf/scripts/python | |
parent | gpiolib: make gpio_device_get() and gpio_device_put() public (diff) | |
download | wireguard-linux-9e4555d1e54a18946d7ca363b9fc8ed1fe7dfde4.tar.xz wireguard-linux-9e4555d1e54a18946d7ca363b9fc8ed1fe7dfde4.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions