Update sharp.c

This commit is contained in:
w4ilun 2023-04-20 11:24:15 -04:00 committed by GitHub
parent 6d9b53eb37
commit 56fc25d3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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