Jeff LaBundy
59bc9cb3b8
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: 04e49867fa ("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 >
2023-01-10 16:56:27 -08:00
..
2019-08-14 10:49:01 -07:00
2023-01-09 20:25:20 -08:00
2020-11-08 22:27:54 -08:00
2022-12-02 14:53:42 -08:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2022-12-02 14:53:42 -08:00
2022-02-09 13:00:45 +00:00
2021-10-15 18:39:32 -07:00
2021-10-12 19:48:52 -07:00
2022-12-02 14:53:42 -08:00
2021-10-01 21:24:14 -07:00
2019-06-19 17:09:55 +02:00
2021-03-10 11:10:30 +00:00
2022-04-23 10:33:53 +02:00
2022-11-23 19:11:22 +01:00
2022-12-02 14:53:42 -08:00
2022-01-17 18:03:39 -08:00
2022-12-02 14:53:42 -08:00
2022-04-23 10:33:53 +02:00
2022-12-02 14:53:42 -08:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:07 +02:00
2019-10-29 17:14:17 -07:00
2021-10-16 18:51:02 -07:00
2023-01-09 20:25:20 -08:00
2019-05-30 11:26:32 -07:00
2019-08-14 10:49:01 -07:00
2022-02-28 23:31:24 -08:00
2023-01-09 20:25:20 -08:00
2023-01-09 20:25:20 -08:00
2023-01-09 20:25:20 -08:00
2023-01-09 20:25:21 -08:00
2022-06-10 14:51:35 +02:00
2019-05-30 11:26:32 -07:00
2023-01-09 20:25:21 -08:00
2019-08-14 10:49:01 -07:00
2019-10-23 15:56:08 -07:00
2022-12-02 14:53:43 -08:00
2019-05-30 11:26:32 -07:00
2022-09-28 15:22:46 -07:00
2023-01-10 16:56:27 -08:00
2023-01-09 20:25:21 -08:00
2022-10-24 05:10:09 -07:00
2022-12-21 09:19:24 -08:00
2022-08-18 15:44:08 -07:00
2023-01-09 20:25:21 -08:00
2019-06-19 17:09:55 +02:00
2022-12-07 13:28:15 +00:00
2023-01-09 20:25:21 -08:00
2023-01-09 20:25:22 -08:00
2020-01-16 20:23:24 -08:00
2023-01-09 20:25:21 -08:00
2020-11-19 19:18:22 -08:00
2022-12-02 14:53:43 -08:00
2023-01-09 20:25:22 -08:00
2019-06-19 17:09:55 +02:00
2023-01-09 20:25:22 -08:00
2019-05-30 11:26:32 -07:00
2020-11-22 22:16:21 -08:00
2023-01-09 20:25:22 -08:00
2023-01-09 20:25:22 -08:00
2023-01-09 20:25:22 -08:00
2022-04-23 10:33:53 +02:00
2023-01-09 20:25:22 -08:00
2023-01-09 20:25:22 -08:00
2018-03-08 15:34:45 -08:00
2019-10-29 17:15:46 -07:00
2023-01-09 20:25:22 -08:00
2022-08-22 16:59:49 -07:00
2023-01-09 20:25:23 -08:00
2022-08-31 15:48:49 -07:00
2020-12-11 19:00:21 -08:00
2019-10-29 17:15:26 -07:00
2022-11-07 10:33:26 -08:00
2022-05-16 21:10:11 -07:00
2023-01-09 20:25:23 -08:00
2022-06-10 14:51:36 +02:00
2022-12-07 13:28:15 +00:00
2022-09-27 08:43:04 -07:00
2023-01-09 20:25:23 -08:00
2023-01-09 20:25:23 -08:00
2019-12-13 15:00:36 -08:00
2019-10-29 17:14:15 -07:00
2020-11-19 19:18:43 -08:00
2022-05-27 11:05:29 +02:00
2022-04-23 10:33:53 +02:00
2019-05-30 11:26:35 -07:00