gpio: remember to finally free gpio_device
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Feb 2016 13:27:42 +0000 (14:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Feb 2016 17:16:53 +0000 (18:16 +0100)
commit9efd9e6956adf479eb85beb74bb975f702dc01a9
tree5005e8ec773716458ac14860acc1b38174dded9f
parentc366c76a2c41d0c545e51b53056b21515db32e77
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>
drivers/gpio/gpiolib.c
This page took 0.025379 seconds and 5 git commands to generate.