* [PATCH] drm/mxsfb: drop unused function parameter
@ 2020-07-16 17:41 Uwe Kleine-König
2020-07-20 9:06 ` Stefan Agner
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2020-07-16 17:41 UTC (permalink / raw)
To: Marek Vasut, Stefan Agner, David Airlie, Daniel Vetter
Cc: dri-devel, Shawn Guo, NXP Linux Team, Pengutronix Kernel Team
flags is unused since the driver was introduced in commit 45d59d704080
("drm: Add new driver for MXSFB controller").
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
index 497cf443a9af..fb972dd4f642 100644
--- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
+++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
@@ -191,7 +191,7 @@ static struct drm_simple_display_pipe_funcs mxsfb_funcs = {
.disable_vblank = mxsfb_pipe_disable_vblank,
};
-static int mxsfb_load(struct drm_device *drm, unsigned long flags)
+static int mxsfb_load(struct drm_device *drm)
{
struct platform_device *pdev = to_platform_device(drm->dev);
struct mxsfb_drm_private *mxsfb;
@@ -407,7 +407,7 @@ static int mxsfb_probe(struct platform_device *pdev)
if (IS_ERR(drm))
return PTR_ERR(drm);
- ret = mxsfb_load(drm, 0);
+ ret = mxsfb_load(drm);
if (ret)
goto err_free;
--
2.27.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/mxsfb: drop unused function parameter
2020-07-16 17:41 [PATCH] drm/mxsfb: drop unused function parameter Uwe Kleine-König
@ 2020-07-20 9:06 ` Stefan Agner
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Agner @ 2020-07-20 9:06 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Marek Vasut, David Airlie, Shawn Guo, dri-devel, NXP Linux Team,
Pengutronix Kernel Team
On 2020-07-16 19:41, Uwe Kleine-König wrote:
> flags is unused since the driver was introduced in commit 45d59d704080
> ("drm: Add new driver for MXSFB controller").
Applied to drm-misc-next. Thanks.
--
Stefan
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> index 497cf443a9af..fb972dd4f642 100644
> --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
> @@ -191,7 +191,7 @@ static struct drm_simple_display_pipe_funcs mxsfb_funcs = {
> .disable_vblank = mxsfb_pipe_disable_vblank,
> };
>
> -static int mxsfb_load(struct drm_device *drm, unsigned long flags)
> +static int mxsfb_load(struct drm_device *drm)
> {
> struct platform_device *pdev = to_platform_device(drm->dev);
> struct mxsfb_drm_private *mxsfb;
> @@ -407,7 +407,7 @@ static int mxsfb_probe(struct platform_device *pdev)
> if (IS_ERR(drm))
> return PTR_ERR(drm);
>
> - ret = mxsfb_load(drm, 0);
> + ret = mxsfb_load(drm);
> if (ret)
> goto err_free;
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-20 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 17:41 [PATCH] drm/mxsfb: drop unused function parameter Uwe Kleine-König
2020-07-20 9:06 ` Stefan Agner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).