From 56fc25d3cc0d8d32065b6e54f3901378a1b83dea Mon Sep 17 00:00:00 2001 From: w4ilun Date: Thu, 20 Apr 2023 11:24:15 -0400 Subject: [PATCH] Update sharp.c --- sharp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharp.c b/sharp.c index 8442310..523e5c9 100644 --- a/sharp.c +++ b/sharp.c @@ -396,7 +396,7 @@ err: return 0; } -static int sharp_remove(struct spi_device *spi) +static void sharp_remove(struct spi_device *spi) { if (info) { unregister_framebuffer(info); @@ -407,7 +407,7 @@ static int sharp_remove(struct spi_device *spi) kthread_stop(fpsThread); kthread_stop(vcomToggleThread); printk(KERN_CRIT "out of screen module"); - return 0; + //return 0; } static struct spi_driver sharp_driver = {