From 71469385dbfde768b3431820606f9f0845c9d56c Mon Sep 17 00:00:00 2001 From: Benjamin Gaignard Date: Wed, 8 Nov 2017 14:50:45 +0100 Subject: [PATCH] drm: sti: remove vtg_remove vtg_remove does nothing just remove it Acked-by: Daniel Vetter Signed-off-by: Benjamin Gaignard Link: https://patchwork.freedesktop.org/patch/msgid/1510146367-25329-1-git-send-email-benjamin.gaignard@linaro.org --- drivers/gpu/drm/sti/sti_vtg.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c index 5f75aea7b8fa..3aa2fa6f2228 100644 --- a/drivers/gpu/drm/sti/sti_vtg.c +++ b/drivers/gpu/drm/sti/sti_vtg.c @@ -420,11 +420,6 @@ static int vtg_probe(struct platform_device *pdev) return 0; } -static int vtg_remove(struct platform_device *pdev) -{ - return 0; -} - static const struct of_device_id vtg_of_match[] = { { .compatible = "st,vtg", }, { /* sentinel */ } @@ -438,7 +433,6 @@ struct platform_driver sti_vtg_driver = { .of_match_table = vtg_of_match, }, .probe = vtg_probe, - .remove = vtg_remove, }; MODULE_AUTHOR("Benjamin Gaignard ");