summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2023-01-03 11:58:31 -0600
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-01-10 16:56:27 -0800
commit59bc9cb3b80abaa42643abede0d5db8477901d9c (patch)
tree3eec9564736b9f1048ca956c705049f7948acd5e /scripts/gdb/linux/utils.py
parent407da561244b9d51e6a794d6305ba38ec2c9d907 (diff)
Input: iqs269a - drop unused device node references
Each call to device/fwnode_get_named_child_node() must be matched with a call to fwnode_handle_put() once the corresponding node is no longer in use. This ensures a reference count remains balanced in the case of dynamic device tree support. Currently, the driver does not call fwnode_handle_put() on nested event nodes. This patch solves this problem by adding the missing instances of fwnode_handle_put(). As part of this change, the logic which parses each channel's key code is gently refactored in order to reduce the number of places from which fwnode_handle_put() is called. Fixes: 04e49867fad1 ("Input: add support for Azoteq IQS269A") Signed-off-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/Y7Rsx68k/gvDVXAt@nixie71 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions