mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
gpio: remember to finally free gpio_device
When the device core reference count for the device goes to 0 and it calls .release() we free resources and so can also finally free up the GPIO state container, struct gpio_device. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
c366c76a2c
commit
9efd9e6956
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue