Re: [PATCH] Input: iqs62x-keys - drop unused device node references
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-09-25 05:18:40
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-09-25 05:18:40
On Sat, Sep 17, 2022 at 02:09:22PM -0500, Jeff LaBundy wrote:
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.
Fixes: ce1cb0eec85b ("input: keyboard: Add support for Azoteq IQS620A/621/622/624/625")
Signed-off-by: Jeff LaBundy <redacted>Applied, thank you. -- Dmitry