summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/uda1342.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/uda1342.c')
-rw-r--r--drivers/media/i2c/uda1342.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/uda1342.c b/drivers/media/i2c/uda1342.c
index b0a9c6d7163f..d0659c4392f2 100644
--- a/drivers/media/i2c/uda1342.c
+++ b/drivers/media/i2c/uda1342.c
@@ -72,12 +72,11 @@ static int uda1342_probe(struct i2c_client *client,
return 0;
}
-static int uda1342_remove(struct i2c_client *client)
+static void uda1342_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 uda1342_id[] = {