summaryrefslogtreecommitdiffstats
path: root/sound/aoa
diff options
context:
space:
mode:
authorWei Yongjun2016-10-29 18:13:52 +0200
committerLinus Walleij2016-10-31 09:23:45 +0100
commit09e258af4edaa10ee9aa3164923ee07d5863d637 (patch)
tree0c4c25acd576b2e9297c7fb2c6a798f09ed7a396 /sound/aoa
parentACPI / gpio: make acpi_gpiochip_parse_own_gpio static (diff)
downloadkernel-qcow2-linux-09e258af4edaa10ee9aa3164923ee07d5863d637.tar.gz
kernel-qcow2-linux-09e258af4edaa10ee9aa3164923ee07d5863d637.tar.xz
kernel-qcow2-linux-09e258af4edaa10ee9aa3164923ee07d5863d637.zip
gpio: of: add missing of_node_put() in of_gpiochip_scan_gpios()
When terminating for_each_available_child_of_node() iteration with break or return, of_node_put() should be used 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> Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions