Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACPI / gpio: add missing fwnode_handle_put() in acpi_gpiochip_scan_gp…
…ios() 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>
- Loading branch information