Update sharp.c
This commit is contained in:
parent
6d9b53eb37
commit
56fc25d3cc
4
sharp.c
4
sharp.c
@ -396,7 +396,7 @@ err:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sharp_remove(struct spi_device *spi)
|
static void sharp_remove(struct spi_device *spi)
|
||||||
{
|
{
|
||||||
if (info) {
|
if (info) {
|
||||||
unregister_framebuffer(info);
|
unregister_framebuffer(info);
|
||||||
@ -407,7 +407,7 @@ static int sharp_remove(struct spi_device *spi)
|
|||||||
kthread_stop(fpsThread);
|
kthread_stop(fpsThread);
|
||||||
kthread_stop(vcomToggleThread);
|
kthread_stop(vcomToggleThread);
|
||||||
printk(KERN_CRIT "out of screen module");
|
printk(KERN_CRIT "out of screen module");
|
||||||
return 0;
|
//return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct spi_driver sharp_driver = {
|
static struct spi_driver sharp_driver = {
|
||||||
|
Loading…
Reference in New Issue
Block a user