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 = {