Merge tag 'media/v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-block.git] / drivers / media / i2c / tc358743.c
index 804b8ee8e4aba9e8ab40c95909401bacdb40a662..200841c1f5cf08a6e501b2af46c88e52420e27de 100644 (file)
@@ -2171,7 +2171,7 @@ err_hdl:
        return err;
 }
 
-static int tc358743_remove(struct i2c_client *client)
+static void tc358743_remove(struct i2c_client *client)
 {
        struct v4l2_subdev *sd = i2c_get_clientdata(client);
        struct tc358743_state *state = to_state(sd);
@@ -2187,8 +2187,6 @@ static int tc358743_remove(struct i2c_client *client)
        mutex_destroy(&state->confctl_mutex);
        media_entity_cleanup(&sd->entity);
        v4l2_ctrl_handler_free(&state->hdl);
-
-       return 0;
 }
 
 static const struct i2c_device_id tc358743_id[] = {