summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/cs3308.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/cs3308.c')
-rw-r--r--drivers/media/i2c/cs3308.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/i2c/cs3308.c b/drivers/media/i2c/cs3308.c
index ebe55e261bff..d901a59883a9 100644
--- a/drivers/media/i2c/cs3308.c
+++ b/drivers/media/i2c/cs3308.c
@@ -99,13 +99,12 @@ static int cs3308_probe(struct i2c_client *client,
/* ----------------------------------------------------------------------- */
-static int cs3308_remove(struct i2c_client *client)
+static void cs3308_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
v4l2_device_unregister_subdev(sd);
kfree(sd);
- return 0;
}
/* ----------------------------------------------------------------------- */