summaryrefslogtreecommitdiff
path: root/drivers/staging/fbtft/fbtft.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/fbtft/fbtft.h')
-rw-r--r--drivers/staging/fbtft/fbtft.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
index 6a7545b5bcd2..b68f5f9b7c78 100644
--- a/drivers/staging/fbtft/fbtft.h
+++ b/drivers/staging/fbtft/fbtft.h
@@ -286,12 +286,11 @@ static int fbtft_driver_probe_spi(struct spi_device *spi) \
return fbtft_probe_common(_display, spi, NULL); \
} \
\
-static int fbtft_driver_remove_spi(struct spi_device *spi) \
+static void fbtft_driver_remove_spi(struct spi_device *spi) \
{ \
struct fb_info *info = spi_get_drvdata(spi); \
\
fbtft_remove_common(&spi->dev, info); \
- return 0; \
} \
\
static struct spi_driver fbtft_driver_spi_driver = { \