summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tiny/hx8357d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tiny/hx8357d.c')
-rw-r--r--drivers/gpu/drm/tiny/hx8357d.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tiny/hx8357d.c b/drivers/gpu/drm/tiny/hx8357d.c
index 9b33c05732aa..ebb025543f8d 100644
--- a/drivers/gpu/drm/tiny/hx8357d.c
+++ b/drivers/gpu/drm/tiny/hx8357d.c
@@ -263,14 +263,12 @@ static int hx8357d_probe(struct spi_device *spi)
return 0;
}
-static int hx8357d_remove(struct spi_device *spi)
+static void hx8357d_remove(struct spi_device *spi)
{
struct drm_device *drm = spi_get_drvdata(spi);
drm_dev_unplug(drm);
drm_atomic_helper_shutdown(drm);
-
- return 0;
}
static void hx8357d_shutdown(struct spi_device *spi)