aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/google/framebuffer-coreboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/google/framebuffer-coreboot.c')
-rw-r--r--drivers/firmware/google/framebuffer-coreboot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/firmware/google/framebuffer-coreboot.c b/drivers/firmware/google/framebuffer-coreboot.c
index 916f26adc595..c6dcc1ef93ac 100644
--- a/drivers/firmware/google/framebuffer-coreboot.c
+++ b/drivers/firmware/google/framebuffer-coreboot.c
@@ -72,13 +72,11 @@ static int framebuffer_probe(struct coreboot_device *dev)
return PTR_ERR_OR_ZERO(pdev);
}
-static int framebuffer_remove(struct coreboot_device *dev)
+static void framebuffer_remove(struct coreboot_device *dev)
{
struct platform_device *pdev = dev_get_drvdata(&dev->dev);
platform_device_unregister(pdev);
-
- return 0;
}
static struct coreboot_driver framebuffer_driver = {