summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-davinci.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-29 16:11:57 +0000
committerLinus Walleij <linus.walleij@linaro.org>2016-10-31 09:18:29 +0100
commit1b6998c96ccc60a61bdb812b4a55866224ab9708 (patch)
tree6bf43da7a24c39664b8a9898f7686bc73075c28f /drivers/gpio/gpio-davinci.c
parent5a195c6d4ecf43be26ee1c8be6140025832adfd2 (diff)
ACPI / gpio: add missing fwnode_handle_put() in acpi_gpiochip_scan_gpios()
fwnode_handle_put() should be used when terminating device_for_each_child_node() iteration with break or return to prevent stale device node references from being left behind. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions