summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ov7640.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/ov7640.c')
-rw-r--r--drivers/media/i2c/ov7640.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/i2c/ov7640.c b/drivers/media/i2c/ov7640.c
index 977cd2d8ad33..5e2d67f0f9f2 100644
--- a/drivers/media/i2c/ov7640.c
+++ b/drivers/media/i2c/ov7640.c
@@ -70,13 +70,11 @@ static int ov7640_probe(struct i2c_client *client,
}
-static int ov7640_remove(struct i2c_client *client)
+static void ov7640_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
v4l2_device_unregister_subdev(sd);
-
- return 0;
}
static const struct i2c_device_id ov7640_id[] = {