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
..
2022-12-16 13:04:15 -06:00
2022-12-30 10:47:25 -08:00
2022-12-13 15:22:14 -08:00
2022-12-27 11:06:57 +09:00
2022-12-25 13:38:09 -08:00
2022-12-19 12:33:32 -06:00
2023-01-06 13:12:42 -08:00
2022-12-25 13:38:09 -08:00
2022-12-16 03:49:24 -08:00
2023-01-06 14:25:19 -08:00
2022-12-13 13:46:07 -08:00
2022-12-12 12:52:02 -08:00
2022-12-12 16:39:38 -08:00
2022-12-19 07:13:33 -06:00
2023-01-06 11:14:11 -08:00
2022-12-08 13:03:47 -08:00
2022-12-05 21:57:20 +09:00
2022-12-19 08:54:17 -06:00
2023-01-03 08:32:12 +01:00
2022-12-12 15:40:03 +01:00
2022-12-16 03:49:24 -08:00
2022-12-21 09:37:14 -08:00
2022-12-16 03:49:24 -08:00
2023-01-02 13:01:14 +01:00
2023-01-06 10:16:49 +01:00
2022-12-25 13:38:09 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 13:09:38 -08:00
2022-12-15 14:47:10 -08:00
2022-12-11 21:25:58 +01:00
2022-12-16 03:49:24 -08:00
2023-01-01 09:40:35 +02:00
2023-01-10 16:56:27 -08:00
2022-12-19 08:34:39 -06:00
2022-12-14 15:23:49 -08:00
2022-12-25 13:38:09 -08:00
2022-12-25 13:38:09 -08:00
2022-12-21 09:31:18 -08:00
2022-12-02 17:48:04 +01:00
2023-01-04 09:05:23 -07:00
2022-12-25 13:38:09 -08:00
2022-12-13 15:22:14 -08:00
2022-12-09 10:29:58 +01:00
2022-12-21 09:19:24 -08:00
2022-12-23 12:00:24 -08:00
2022-12-13 13:41:26 -08:00
2022-12-13 12:32:07 -08:00
2023-01-05 12:40:50 -08:00
2022-12-25 13:38:09 -08:00
2022-12-02 23:52:32 -08:00
2023-01-06 13:12:42 -08:00
2022-12-16 03:49:24 -08:00
2023-01-04 21:31:59 -06:00
2022-12-17 23:19:38 +01:00
2022-12-19 08:40:58 -06:00
2022-12-25 13:38:09 -08:00
2022-12-14 15:23:49 -08:00
2022-12-19 08:40:58 -06:00
2022-12-13 13:03:06 -08:00
2022-12-16 03:22:53 -08:00
2022-12-17 08:39:31 -06:00
2022-12-02 20:49:49 +01:00
2022-12-13 15:47:48 -08:00
2022-12-21 09:41:28 -08:00
2022-12-11 19:30:20 -08:00
2022-12-23 14:38:00 -08:00
2022-12-07 11:20:55 -07:00
2022-12-21 09:19:24 -08:00
2023-01-06 13:12:42 -08:00
2022-12-25 13:38:09 -08:00
2022-12-19 16:07:59 -06:00
2022-12-19 08:47:33 -06:00
2022-12-23 14:44:08 -08:00
2022-12-25 13:38:09 -08:00
2022-12-14 08:58:51 -08:00
2022-12-12 10:17:08 -08:00
2022-12-30 19:48:37 +01:00
2022-12-25 13:38:09 -08:00
2022-12-14 08:58:51 -08:00
2023-01-06 16:32:10 +01:00
2022-12-28 05:28:11 -05:00
2022-12-16 03:54:54 -08:00
2022-12-28 05:28:11 -05:00
2023-01-05 11:43:27 +01:00
2022-12-16 03:49:24 -08:00
2022-12-28 05:28:11 -05:00
2022-12-17 08:34:01 -06:00
2022-12-13 11:59:58 -08:00