Skip to content

Commit e784e78

Browse files
tititiou36Hans Verkuil
authored andcommitted
media: i2c: max9286: Remove an incorrect fwnode_handle_put() call
The commit in Fixes has removed an fwnode_handle_put() call in the error handling path of max9286_v4l2_register(). Remove the same call from max9286_v4l2_unregister(). Fixes: 1029939 ("media: v4l: async: Simplify async sub-device fwnode matching") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent c42d116 commit e784e78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/media/i2c/max9286.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ static int max9286_v4l2_register(struct max9286_priv *priv)
11101110

11111111
static void max9286_v4l2_unregister(struct max9286_priv *priv)
11121112
{
1113-
fwnode_handle_put(priv->sd.fwnode);
11141113
v4l2_ctrl_handler_free(&priv->ctrls);
11151114
v4l2_async_unregister_subdev(&priv->sd);
11161115
max9286_v4l2_notifier_unregister(priv);

0 commit comments

Comments
 (0)