Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> for_each_child_of_node performs an of_node_get on each iteration, so to break out of the loop an of_node_put is required. Found using Coccinelle. Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Dmitry Torokhov — drivers/input/keyboard/cap11xx.c | 8 ++++++– 1 file changed, 6 insertions(+), 2 deletions(-) diff –git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index 378db10..4401be2 100644 — a/drivers/input/keyboard/cap11xx.c …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.