summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/upd64031a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/upd64031a.c')
-rw-r--r--drivers/media/i2c/upd64031a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/upd64031a.c b/drivers/media/i2c/upd64031a.c
index ef35c6574785..4de26ed2ba00 100644
--- a/drivers/media/i2c/upd64031a.c
+++ b/drivers/media/i2c/upd64031a.c
@@ -210,12 +210,11 @@ static int upd64031a_probe(struct i2c_client *client,
return 0;
}
-static int upd64031a_remove(struct i2c_client *client)
+static void upd64031a_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
v4l2_device_unregister_subdev(sd);
- return 0;
}
/* ----------------------------------------------------------------------- */