diff options
| author | Pankaj Bharadiya <[email protected]> | 2020-03-05 12:04:28 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-06 13:19:57 +0000 |
| commit | 2dea2d1182179e7dded5352d3ed9f84ad3945b93 (patch) | |
| tree | a6f35ef1026a7775d0ac4029b5e6c85bcc16423c /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | MAINTAINERS: adjust to reservation.h renaming (diff) | |
| download | kernel-2dea2d1182179e7dded5352d3ed9f84ad3945b93.tar.gz kernel-2dea2d1182179e7dded5352d3ed9f84ad3945b93.zip | |
drm: Remove unused arg from drm_fb_helper_init
The max connector argument for drm_fb_helper_init() isn't used anymore
hence remove it.
All the drm_fb_helper_init() calls are modified with below sementic
patch.
@@
expression E1, E2, E3;
@@
- drm_fb_helper_init(E1,E2, E3)
+ drm_fb_helper_init(E1,E2)
Signed-off-by: Pankaj Bharadiya <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index b06e5cbfd03a..eba57ac31cc6 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c @@ -242,7 +242,7 @@ void omap_fbdev_init(struct drm_device *dev) drm_fb_helper_prepare(dev, helper, &omap_fb_helper_funcs); - ret = drm_fb_helper_init(dev, helper, priv->num_pipes); + ret = drm_fb_helper_init(dev, helper); if (ret) goto fail; |
