Skip to content

Commit 12d21fc

Browse files
tititiou36Hans Verkuil
authored andcommitted
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: 1029939 ("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>
1 parent faece4a commit 12d21fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/media/i2c/rdacm21.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,6 @@ static void rdacm21_remove(struct i2c_client *client)
608608
v4l2_async_unregister_subdev(&dev->sd);
609609
v4l2_ctrl_handler_free(&dev->ctrls);
610610
i2c_unregister_device(dev->isp);
611-
fwnode_handle_put(dev->sd.fwnode);
612611
}
613612

614613
static const struct of_device_id rdacm21_of_ids[] = {

0 commit comments

Comments
 (0)