projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b29bf
)
drm/mxsfb: drop unused function parameter
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 16 Jul 2020 17:41:39 +0000
(19:41 +0200)
committer
Stefan Agner
<stefan@agner.ch>
Mon, 20 Jul 2020 08:59:10 +0000
(10:59 +0200)
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>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200716174139.16602-1-u.kleine-koenig@pengutronix.de
drivers/gpu/drm/mxsfb/mxsfb_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
index
1d12ee1
..
508764f
100644
(file)
--- a/
drivers/gpu/drm/mxsfb/mxsfb_drv.c
+++ b/
drivers/gpu/drm/mxsfb/mxsfb_drv.c
@@
-196,7
+196,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;
@@
-403,7
+403,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;