diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-08-30 22:34:51 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-14 23:31:55 +0200 |
commit | 12d21fc2ba88e3bb41167afb5c6c0e961f2ab0c9 (patch) | |
tree | 2b15e529598e87d6979531aed01a6b477d7b30ef /drivers | |
parent | faece4ad72b06308101d7f9cacaf8dd6df4fdc1f (diff) | |
download | lwn-12d21fc2ba88e3bb41167afb5c6c0e961f2ab0c9.tar.gz lwn-12d21fc2ba88e3bb41167afb5c6c0e961f2ab0c9.zip |
media: i2c: rdacm21: Remove an incorrect fwnode_handle_put() call
The commit in Fixes has removed an fwnode_handle_put() call in the error
handling path of the probe.
Remove the same call from the remove function.
Fixes: 1029939b3782 ("media: v4l: async: Simplify async sub-device fwnode matching")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/rdacm21.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/rdacm21.c b/drivers/media/i2c/rdacm21.c index a36a709243fd..3e22df36354f 100644 --- a/drivers/media/i2c/rdacm21.c +++ b/drivers/media/i2c/rdacm21.c @@ -608,7 +608,6 @@ static void rdacm21_remove(struct i2c_client *client) v4l2_async_unregister_subdev(&dev->sd); v4l2_ctrl_handler_free(&dev->ctrls); i2c_unregister_device(dev->isp); - fwnode_handle_put(dev->sd.fwnode); } static const struct of_device_id rdacm21_of_ids[] = { |