drm: sti: remove vtg_remove

Message ID 1510146367-25329-1-git-send-email-benjamin.gaignard@linaro.org
State Accepted
Commit 71469385dbfde768b3431820606f9f0845c9d56c
Headers show
Series
  • drm: sti: remove vtg_remove
Related show

Commit Message

Benjamin Gaignard Nov. 8, 2017, 1:06 p.m.
vtg_remove does nothing just remove it

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>

---
 drivers/gpu/drm/sti/sti_vtg.c | 6 ------
 1 file changed, 6 deletions(-)

-- 
2.7.4

Comments

Benjamin Gaignard Nov. 8, 2017, 1:55 p.m. | #1
2017-11-08 14:06 GMT+01:00 Benjamin Gaignard <benjamin.gaignard@linaro.org>:
> vtg_remove does nothing just remove it

>

> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>


Merge in drm-misc-next with Daniel's irc ack

> ---

>  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 5f75aea..3aa2fa6 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 <benjamin.gaignard@st.com>");

> --

> 2.7.4

>

Patch

diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c
index 5f75aea..3aa2fa6 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 <benjamin.gaignard@st.com>");