[PATCH] drm/mxsfb: drop unused function parameter
Stefan Agner
stefan at agner.ch
Mon Jul 20 09:06:13 UTC 2020
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 at 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;
More information about the dri-devel
mailing list