Tag: 497e1b3f6b6d3cf2206d15687eb7bfa0ab0e968d

Input: cap11xx – add missing of_node_put

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 …

Continue reading