summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2005.c
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2023-01-27 16:29:41 -0600
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-02-03 17:21:04 -0800
commit4d3d2694e168c542b088eef5059d31498f679020 (patch)
treed996486f8beb6c07ad07250167b77aaf302b1f44 /drivers/input/touchscreen/tsc2005.c
parentd94962401cabebe9f81abb24645e376fd19b0aac (diff)
downloadlinux-stable-4d3d2694e168c542b088eef5059d31498f679020.tar.gz
linux-stable-4d3d2694e168c542b088eef5059d31498f679020.tar.bz2
linux-stable-4d3d2694e168c542b088eef5059d31498f679020.zip
Input: iqs626a - 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 never calls fwnode_handle_put(); this patch adds the missing calls. Because fwnode_handle_put() does not take a const *fwnode_handle, the const qualifier is removed across all corresponding *fwnode_handle instances. As part of this change, trackpad channel touch thresholds and ATI base values are now specified under single trackpad channel child nodes. This enhancement moves both properties to scalar values as opposed to arrays, making their types consistent across bindings. Fixes: f1d2809de97a ("Input: Add support for Azoteq IQS626A") Signed-off-by: Jeff LaBundy <jeff@labundy.com> Link: https://lore.kernel.org/r/Y9RQVe/V1Hnw1oly@nixie71 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/tsc2005.c')
0 files changed, 0 insertions, 0 deletions