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