summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/tda9840.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/tda9840.c')
-rw-r--r--drivers/media/i2c/tda9840.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/tda9840.c b/drivers/media/i2c/tda9840.c
index 8c6dfe746b20..aaa74944fc7c 100644
--- a/drivers/media/i2c/tda9840.c
+++ b/drivers/media/i2c/tda9840.c
@@ -175,12 +175,11 @@ static int tda9840_probe(struct i2c_client *client,
return 0;
}
-static int tda9840_remove(struct i2c_client *client)
+static void tda9840_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 tda9840_id[] = {