]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: raspberrypi-exp: decrease refcount on firmware dt node
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Mon, 10 Dec 2018 16:50:05 +0000 (17:50 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Dec 2018 14:28:30 +0000 (15:28 +0100)
commitf22cdc874cc3de4b61927bd663ab01aeac70d703
tree784f540649910a776ddc9738612c08698d18422f
parent318145ec96661453390341a0f347be68fef7e8d3
gpio: raspberrypi-exp: decrease refcount on firmware dt node

We're getting a reference RPi's firmware node in order to be able to
communicate with it's driver. We should decrease the reference count on
the dt node after being done with it.

Fixes: 614720b4f59f ("gpio: raspberrypi-exp: Driver for RPi3 GPIO expander via mailbox service")
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-raspberrypi-exp.c