summaryrefslogtreecommitdiffstats
path: root/drivers/media/spi/gs1662.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/spi/gs1662.c')
-rw-r--r--drivers/media/spi/gs1662.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/spi/gs1662.c b/drivers/media/spi/gs1662.c
index f86ef1ca1288..75c21a93e6d0 100644
--- a/drivers/media/spi/gs1662.c
+++ b/drivers/media/spi/gs1662.c
@@ -458,13 +458,11 @@ static int gs_probe(struct spi_device *spi)
return ret;
}
-static int gs_remove(struct spi_device *spi)
+static void gs_remove(struct spi_device *spi)
{
struct v4l2_subdev *sd = spi_get_drvdata(spi);
v4l2_device_unregister_subdev(sd);
-
- return 0;
}
static struct spi_driver gs_driver = {